Why does my Git hooks shell script result in a parse error?
I do little shell scripting so hopefully I am doing something obviously wrong! This hook is intended to run whenever you push. If you are on the designated branch, in this case ‘githook’, it should run npm run testbuild and if that fails, stop the push. If you are on another branch it should not… Read More Why does my Git hooks shell script result in a parse error?