From b334ccfd6ad608cbe3d599ba6f04524443bd814f Mon Sep 17 00:00:00 2001 From: chufan Date: Mon, 28 Oct 2024 15:08:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D`simple-git-hooks`?= =?UTF-8?q?=E9=92=A9=E5=AD=90=E5=87=BD=E6=95=B0=E8=A7=A6=E5=8F=91=E5=BC=82?= =?UTF-8?q?=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4d2c050..5bf7337 100644 --- a/package.json +++ b/package.json @@ -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",