observing / pre-commit

Automatically installs a git pre-commit script in your git repository which runs your `npm test` on pre-commit
MIT License
1.88k stars 150 forks source link

./node_modules/.bin/commit-msg need file to run pre-commit #110

Closed chriseugenerodriguez closed 7 years ago

chriseugenerodriguez commented 7 years ago

after successful pre-commit got error after scripts ran and finished. .git/hooks/commit-msg: line 9: ./node_modules/.bin/commit-msg: No such file or directory

chriseugenerodriguez commented 7 years ago

can someone just paste that file here from their project?

kevinsalter commented 7 years ago

I'm also experiencing this, what's the fix? cheers

chriseugenerodriguez commented 7 years ago

decided to use husky, better.