summaryrefslogtreecommitdiffstats
path: root/.cargo-husky
diff options
context:
space:
mode:
authorClementTsang <34804052+ClementTsang@users.noreply.github.com>2022-11-13 01:59:32 -0500
committerClementTsang <34804052+ClementTsang@users.noreply.github.com>2022-11-13 01:59:32 -0500
commit5f29758e4c0d8340ca516d9f583f331cd9d997d1 (patch)
tree66a3c2b52d25976a11f5d6f4c9d385551955d4b7 /.cargo-husky
parent50768907ec49322ece1b6a54f7406a046d4bd25c (diff)
other: update cargo husky pre-push hook
Diffstat (limited to '.cargo-husky')
-rwxr-xr-x.cargo-husky/hooks/pre-push5
1 files changed, 1 insertions, 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