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

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -