Skip to content

Commit

Permalink
fix: 修复simple-git-hooks钩子函数触发异常 (#181)
Browse files Browse the repository at this point in the history
* fix: 修复`simple-git-hooks`钩子函数触发异常

* chore: update
  • Loading branch information
mmdapl authored Oct 28, 2024
1 parent 91c7ce6 commit cf3f012
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 @@ -16,7 +16,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 cf3f012

Please sign in to comment.