githooks - Git hook not completing on Github Desktop for mac -


my hook works fine on git cli.

adding echo 'running precommit hook' > ~/desktop/hello.txt hook makes file appear when commit gui, pre-commit running.

however next line in hook gulp --production. never seems run, , can't establish why.

including full path gulp /usr/local/bin/gulp --production doesn't fix it.

replacing shebang #!/bin/sh #!/usr/bin/env sh doesn't fix it.

.git/hooks/pre-commit permissions -rwxr-xr-x.


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -