other: update cargo husky pre-push hook

This commit is contained in:
ClementTsang 2022-11-13 01:59:32 -05:00
parent 50768907ec
commit 5f29758e4c
No known key found for this signature in database
GPG key ID: DC3B7867D8D97095

View file

@ -4,11 +4,8 @@ set -e
echo "Running pre-push hook:" echo "Running pre-push hook:"
echo "Checking fmt" echo "Executing: cargo fmt --all -- --check"
cargo fmt --all -- --check cargo fmt --all -- --check
echo "Executing: cargo clippy --all-targets --workspace -- -D warnings" echo "Executing: cargo clippy --all-targets --workspace -- -D warnings"
cargo clippy --all-targets --workspace -- -D warnings cargo clippy --all-targets --workspace -- -D warnings
# echo "Executing: cargo test"
# cargo test