Skip to content

Commit 8e4fff1

Browse files
committed
fix(docker): guard lefthook prepare so bun install works without git in the image
1 parent ebd7fe1 commit 8e4fff1

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
@@ -10,7 +10,7 @@
1010
"lint": "bunx eslint \"app/**/*.{ts,tsx}\" --fix",
1111
"lint:ci": "bunx eslint \"app/**/*.{ts,tsx}\"",
1212
"format": "bunx prettier --write \"**/*.{js,jsx,ts,tsx,json,css,md}\"",
13-
"prepare": "lefthook install",
13+
"prepare": "lefthook install || true",
1414
"typecheck": "bunx react-router typegen && tsc",
1515
"i18n:extract": "lingui extract --clean",
1616
"i18n:compile": "lingui compile --typescript",

0 commit comments

Comments
 (0)