Skip to content

Commit d72e46e

Browse files
committed
pre-commitでbiomeのところが動かないのを修正
1 parent 7bb097b commit d72e46e

File tree

2 files changed

+1314
-1
lines changed

2 files changed

+1314
-1
lines changed

lefthook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pre-commit:
77
commands:
88
biome:
99
glob: "*"
10-
run: biome check --write --no-errors-on-unmatched --files-ignore-unknown=true -- {staged_files}
10+
run: bunx biome check --write --no-errors-on-unmatched --files-ignore-unknown=true -- {staged_files}
1111
stage_fixed: true
1212
prevent-commit-on-main:
1313
run: if [ "$(git branch --show-current)" == "main" ]; then echo "Cannot make commit on main! aborting..."; exit 1; fi

0 commit comments

Comments
 (0)