Skip to content
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

Fix HUSKY_SKIP_INSTALL=1 not skipping install #518

Merged
merged 1 commit into from Jun 27, 2019

Conversation

sonicdoe
Copy link
Contributor

Disable auto-install in the documentation suggests to set HUSKY_SKIP_INSTALL to 1 to skip automatic installation of Git hooks. However, Husky actually only skipped installation if HUSKY_SKIP_INSTALL was set to true (instead of 1).

I’ve changed the condition to test for both 1 and true (similar to how it’s already done in debug.ts) and added a test.

@typicode
Copy link
Owner

Thank you!

@typicode typicode merged commit 479e08a into typicode:master Jun 27, 2019
@sonicdoe sonicdoe deleted the husky-skip-install branch June 27, 2019 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants