Skip to content

Commit 3b854cd

Browse files
chore: update prepare script to handle missing husky installation gracefully
1 parent ba740d8 commit 3b854cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"lint:fix": "node --run eslint:fix && node --run stylelint:fix && node --run markdownlint:fix",
2626
"markdownlint": "markdownlint-cli2 **/*.md",
2727
"markdownlint:fix": "markdownlint-cli2 **/*.md --fix",
28-
"prepare": "[ -f node_modules/.bin/husky ] && husky || echo husky is not installed.",
28+
"prepare": "[ -f node_modules/.bin/husky ] && husky || true",
2929
"prettier": "prettier . --check",
3030
"prettier:fix": "prettier . --write",
3131
"stylelint": "stylelint **/*.css",

0 commit comments

Comments
 (0)