From 87bc2763ce14683cb1132ca900c4f9fe524f8957 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 2 Nov 2021 11:15:19 -0400 Subject: [PATCH] Fix husky fmt hook. (#1868) * Fix husky fmt hook. * Change to use default cargo * Using nightly check --- .cargo-husky/hooks/pre-commit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.cargo-husky/hooks/pre-commit b/.cargo-husky/hooks/pre-commit index 4b50f2a5..03ecb0fc 100755 --- a/.cargo-husky/hooks/pre-commit +++ b/.cargo-husky/hooks/pre-commit @@ -1,9 +1,9 @@ #!/bin/bash set -e -cargo +nightly fmt +cargo +nightly fmt -- --check -cargo +nightly clippy --workspace --tests --all-targets --all-features -- \ +cargo clippy --workspace --tests --all-targets --all-features -- \ -D warnings -D deprecated -D clippy::perf -D clippy::complexity -D clippy::dbg_macro ./scripts/update_config_defaults.sh -- 2.44.1