New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pre-commit hook fails for unknown reason #155
Comments
Hmmm... Nothing in the output you pasted indicates the script failed. Was there any error output? |
Nope. |
Huh, I'm not sure what's going on there, but I'm guessing it's not an |
@kentcdodds I am going to need a bit more to go on. I have used husky in other projects without any issues. The actual npm script does not return error status code. The only other moving part involved is nps. |
I'm afraid that I don't have a lot of time to dedicate to this issue right now :-( Sorry |
No problem. If you can find some time later to point me in the right direction, I'd be happy to help fix this issue. |
@kentcdodds I dug little bit more and it turns out this wasn't an issue with nps after all. Created a PR ta2edchimp/opt-cli#213 which can fix this. |
Great! Thank you! |
nps
version:5.7.0
node
version:8.2.1
npm
version:5.3.0
yarn
version:0.27.5
Scripts file (or at least the relevant bits):
The command executed:
Problem description:
I faced this issue while trying to contribute to
cross-env
. While manual execution of theprecommit
npm script did not return an error, the pre-commit hook failed unexpectedly.Suggested solution:
Not sure.
More info:
The text was updated successfully, but these errors were encountered: