Skip to content

Commit

Permalink
fix: 修复simple-git-hooks钩子函数触发异常
Browse files Browse the repository at this point in the history
  • Loading branch information
mmdapl committed Oct 28, 2024
1 parent 9a316b0 commit b334ccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"scripts": {
"preinstall": "npx only-allow pnpm && chmod +x ./scripts/*",
"postinstall": "simple-git-hooks",
"postinstall": "rm -rf .git/hooks && npx simple-git-hooks",
"clean": "npx fa clean --ignore-tips --dist --vite --all",
"lint": "npx fa lint",
"lint:fix": "npx fa lint --fix",
Expand Down

0 comments on commit b334ccf

Please sign in to comment.