Replies: 1 comment
-
|
Nice! It probably won't work on Windows unfortunately :/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
on this page
https://typicode.github.io/husky/how-to.html
Modify the prepare script to never fail:
json
// package.json
"prepare": "husky || true"
You'll still get a command not found error message in your output which may be confusing.
up can prevent the error message from showing by piping to xargs
like so
"prepare": "husky || true | xargs"
Beta Was this translation helpful? Give feedback.
All reactions