From 6c25e1312487fabf1f1035023ef261ca75a6da7e Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 29 Oct 2021 00:19:08 -0400 Subject: [PATCH] Fix husky fmt hook. --- .cargo-husky/hooks/pre-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cargo-husky/hooks/pre-commit b/.cargo-husky/hooks/pre-commit index 4b50f2a5b..1c2858d4e 100755 --- a/.cargo-husky/hooks/pre-commit +++ b/.cargo-husky/hooks/pre-commit @@ -1,7 +1,7 @@ #!/bin/bash set -e -cargo +nightly fmt +cargo +nightly fmt -- --check cargo +nightly clippy --workspace --tests --all-targets --all-features -- \ -D warnings -D deprecated -D clippy::perf -D clippy::complexity -D clippy::dbg_macro