mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-04-14 05:51:02 +08:00
chore: replace pre-commit hook with cargo alias
This commit is contained in:
parent
bb2059c76f
commit
02b44d83af
@ -15,7 +15,7 @@ if [ -n "$RUST_FILES" ]; then
|
|||||||
cargo fmt
|
cargo fmt
|
||||||
|
|
||||||
# Lint with clippy, print warnings but don't fail commit
|
# Lint with clippy, print warnings but don't fail commit
|
||||||
cargo clippy || echo "⚠️ clippy found issues, but commit will continue."
|
cargo clippy-all || echo "⚠️ clippy found issues, but commit will continue."
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user