Skip to content

Commit 940accc

Browse files
committed
fix: skip lefthook install in prepare script when CI is set
1 parent 14c764e commit 940accc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"release": "bun run scripts/release.ts",
2929
"populate-dev": "bun run scripts/populate-dev.ts",
3030
"clear-dev": "bun run scripts/clear-dev.ts",
31-
"prepare": "if command -v lefthook >/dev/null 2>&1; then lefthook install; fi",
31+
"prepare": "if [ -z \"$CI\" ]; then lefthook install; fi",
3232
"format": "bunx biome format --write .",
3333
"format:check": "bunx biome format .",
3434
"lint": "bunx biome lint --write .",

0 commit comments

Comments
 (0)