Skip to content

Commit

Permalink
devops: Lint code behind feature flag in precommit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
Sword-Smith committed Jan 3, 2025
1 parent 5faac40 commit 8b28ac6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .cargo-husky/hooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

set -e

echo '+cargo clippy --all-targets -- -D warnings'
cargo clippy --all-targets -- -D warnings
echo '+cargo clippy --all-targets --all-features -- -D warnings'
cargo clippy --all-targets --all-features -- -D warnings
echo '+cargo fmt --all -- --check'
cargo fmt --all -- --check

0 comments on commit 8b28ac6

Please sign in to comment.