fix(build): guard husky prepare for production installs

This commit is contained in:
jeffusion
2026-03-24 12:43:35 +08:00
committed by 路遥知码力
parent 3307ec687e
commit 5aeff7585b

View File

@@ -49,7 +49,7 @@
"start:prod": "bun run dist/index.js", "start:prod": "bun run dist/index.js",
"lint": "biome check src/", "lint": "biome check src/",
"test": "bun test", "test": "bun test",
"prepare": "husky" "prepare": "command -v husky >/dev/null 2>&1 && husky || true"
}, },
"keywords": [ "keywords": [
"code-review", "code-review",