Closed SteveALee closed 6 years ago
Hi @SteveALee ,
This is an issue with cyclic-router and the way they call validate-commit-msg. They should do :
"config": {
"ghooks": {
"commit-msg": "validate-commit-msg $2"
}
}
Plus, not an issue here but ghooks is deprecated.
You should create the issue there, nothing we can do here.
Thanks for the correction. I rather assumed the usage was correct. I appreciate the heads up 're ghooks, will send cyclic-router a PR.
When committing code in cyclic-router which has this set up as a commit hook -
I tried calling from gtit4windows bash but still fails as npm insists on calling cmd on Windows.
Might work around with makeintg the npm hook script something like
"bash -c\"node ./node_modules/.bin/validate-commit-msg\""
but quoting can soon become a nightmare