You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[IMP] husky: allow use of pre-commit hook for windows
The PATH variable for husky in windows was sometimes missing the
"/usr/bin" directory. I'm not sure what caused this, I had the bug sometimes
but couldn't reproduce it consistently.
On Windows, use `npx.cmd` instead of `npx`.
Add a HUSKY_INPUT_ENV environment variable to disable user input in
the pre-commit hook. It should be set to 0 if you use git with a GUI,
in which you cannot use console input for commits
closes#1522
X-original-commit: 0e0a1cd
Signed-off-by: Minne Adrien (adrm) <[email protected]>
Signed-off-by: Rémi Rahir (rar) <[email protected]>
0 commit comments