Skip to content
This repository was archived by the owner on Feb 5, 2018. It is now read-only.

Cannot find ".git" in parent directory #72

Closed
standy opened this issue Apr 3, 2017 · 2 comments
Closed

Cannot find ".git" in parent directory #72

standy opened this issue Apr 3, 2017 · 2 comments

Comments

@standy
Copy link
Contributor

standy commented Apr 3, 2017

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
Copy link
Collaborator

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

@standy
Copy link
Contributor Author

standy commented Apr 3, 2017

Sure, I will do it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants