conventional-changelog-archived-repos / validate-commit-msg

DEPRECATED. Use https://github.com/marionebl/commitlint instead. githook to validate commit messages are up to standard
http://conventionalcommits.org/
MIT License
557 stars 100 forks source link

Cannot find ".git" in parent directory #72

Closed standy closed 7 years ago

standy commented 7 years ago

Getting an error Error: Cannot find file ./.git because my package.json in subfolder from git root. Husky works fine with find-parent-dir: https://github.com/typicode/husky/blob/master/src/index.js#L29 Im pretty sure this package should do the same way

kentcdodds commented 7 years ago

Thanks for bringing this up. That solution sounds good to me! Want to makeapullrequest.com?

standy commented 7 years ago

Sure, I will do it