Fix husky fmt hook.

This commit is contained in:
Dessalines 2021-10-29 00:19:08 -04:00
parent b18ea3e0cc
commit 6c25e13124

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
set -e set -e
cargo +nightly fmt cargo +nightly fmt -- --check
cargo +nightly clippy --workspace --tests --all-targets --all-features -- \ cargo +nightly clippy --workspace --tests --all-targets --all-features -- \
-D warnings -D deprecated -D clippy::perf -D clippy::complexity -D clippy::dbg_macro -D warnings -D deprecated -D clippy::perf -D clippy::complexity -D clippy::dbg_macro