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 -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -