Skip to content

Commit 85673a1

Browse files
authored
ビルドエラーの修正とpre-commitのエラーの修正 (#533)
# PRの概要 - Webのビルドのエラーが起きたので修正 - pre-commit hookで、[biome](biome: command not found)と言われたので、bunx biomeに変更 ## 具体的な変更内容 ## 影響範囲 ## 動作要件 ## 補足 ## レビューリクエストを出す前にチェック! - [ ] 改めてセルフレビューしたか - [ ] 手動での動作検証を行ったか - [ ] server の機能追加ならば、テストを書いたか - 理由: 書いた | server の機能追加ではない - [ ] 間違った使い方が存在するならば、それのドキュメントをコメントで書いたか - 理由: 書いた | 間違った使い方は存在しない - [ ] わかりやすいPRになっているか <!-- レビューリクエスト後は、Slackでもメンションしてお願いすることを推奨します。 -->
1 parent 799a085 commit 85673a1

File tree

3 files changed

+1315
-2
lines changed

3 files changed

+1315
-2
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)