chore: add src-web to pre-commit cargo fmt hook

This commit is contained in:
t8y2 2026-05-05 21:14:24 +08:00
parent d66ac93622
commit 15498b70fd
1 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
npx lint-staged
cd src-tauri && cargo fmt && git add -u .
cd "$(git rev-parse --show-toplevel)/crates/dbx-core" && cargo fmt --all && git add -u .
cd "$(git rev-parse --show-toplevel)/crates/dbx-core" && cargo fmt --all && git add -u .
cd "$(git rev-parse --show-toplevel)/src-web" && cargo fmt && git add -u .