mirror of
https://github.com/142vip/408CSFamily.git
synced 2026-04-13 18:00:58 +08:00
Merge pull request #118 from 142vip/fix/simple-git-hooks
fix: 修复`simple-git-hooks`钩子函数触发异常
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user