Skip to content

Commit 55e5ee0

Browse files
committed
fix: update husky prepare script to conditionally run based on CI and VERCEL environment variables
1 parent cc6b870 commit 55e5ee0

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
@@ -11,7 +11,7 @@
1111
"format": "prettier --write .",
1212
"format:check": "prettier --check .",
1313
"lint:fix": "eslint --fix .",
14-
"prepare": "husky"
14+
"prepare": "[ -z \"$CI\" ] && [ -z \"$VERCEL\" ] && husky || true"
1515
},
1616
"lint-staged": {
1717
"*.{js,jsx,ts,tsx}": [

0 commit comments

Comments
 (0)