1 parent ab20b10 commit cff7785Copy full SHA for cff7785
1 file changed
package.json
@@ -9,7 +9,7 @@
9
"preview": "vite preview",
10
"check": "tsc",
11
"prepare": "pnpm run '/^prepare:.*/'",
12
- "prepare:hooks": "git config core.hooksPath .github/hooks",
+ "prepare:hooks": "command -v git >/dev/null 2>&1 && git rev-parse --git-dir >/dev/null 2>&1 && git config core.hooksPath .github/hooks || true",
13
"prettier": "prettier --ignore-unknown --no-error-on-unmatched-pattern"
14
},
15
"dependencies": {
0 commit comments