We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
** Problem ** When using Husky on Windows and setting HUSKY=0 the pre-push hooks should not run but they did.
Context
This should be possible to test with just a pre-push hook that does "echo The pre-push hook ran".
Thank you!
The text was updated successfully, but these errors were encountered:
Seems surprising. I would maybe suggest trying to upgrade and verify that the env variable was correctly set by adding echo $HUSKY in your pre-push
echo $HUSKY
Sorry, something went wrong.
I have similar problem with husky v9.1.6 on windows. Even with husky=0 it will still run hooks.
Also need to add #!/usr/bin/env sh to my pre-commit or it randomly run to an error: cannot spawn .husky/pre-commit: No such file or directory
#!/usr/bin/env sh
No branches or pull requests
** Problem **
When using Husky on Windows and setting HUSKY=0 the pre-push hooks should not run but they did.
Context
This should be possible to test with just a pre-push hook that does "echo The pre-push hook ran".
Thank you!
The text was updated successfully, but these errors were encountered: