Skip to content

Commit cff7785

Browse files
committed
chore: try skipping hooks
1 parent ab20b10 commit cff7785

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
@@ -9,7 +9,7 @@
99
"preview": "vite preview",
1010
"check": "tsc",
1111
"prepare": "pnpm run '/^prepare:.*/'",
12-
"prepare:hooks": "git config core.hooksPath .github/hooks",
12+
"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",
1313
"prettier": "prettier --ignore-unknown --no-error-on-unmatched-pattern"
1414
},
1515
"dependencies": {

0 commit comments

Comments
 (0)