diff --git a/package.json b/package.json index 2ad377af9..9b4cf2dd6 100644 --- a/package.json +++ b/package.json @@ -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",