Skip to content

Commit cf3f012

Browse files
authored
fix: 修复simple-git-hooks钩子函数触发异常 (#181)
* fix: 修复`simple-git-hooks`钩子函数触发异常 * chore: update
1 parent 91c7ce6 commit cf3f012

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"scripts": {
1818
"preinstall": "npx only-allow pnpm && chmod +x ./scripts/*",
19-
"postinstall": "simple-git-hooks",
19+
"postinstall": "rm -rf .git/hooks && npx simple-git-hooks",
2020
"clean": "npx fa clean --ignore-tips --dist --vite --all",
2121
"lint": "npx fa lint",
2222
"lint:fix": "npx fa lint --fix",

0 commit comments

Comments
 (0)