From 5f29758e4c0d8340ca516d9f583f331cd9d997d1 Mon Sep 17 00:00:00 2001 From: ClementTsang <34804052+ClementTsang@users.noreply.github.com> Date: Sun, 13 Nov 2022 01:59:32 -0500 Subject: [PATCH] other: update cargo husky pre-push hook --- .cargo-husky/hooks/pre-push | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.cargo-husky/hooks/pre-push b/.cargo-husky/hooks/pre-push index 9cd6aa97..c88e49d4 100755 --- a/.cargo-husky/hooks/pre-push +++ b/.cargo-husky/hooks/pre-push @@ -4,11 +4,8 @@ set -e echo "Running pre-push hook:" -echo "Checking fmt" +echo "Executing: cargo fmt --all -- --check" cargo fmt --all -- --check echo "Executing: cargo clippy --all-targets --workspace -- -D warnings" cargo clippy --all-targets --workspace -- -D warnings - -# echo "Executing: cargo test" -# cargo test