Fix husky fmt hook. (#1868)

* Fix husky fmt hook.

* Change to use default cargo

* Using nightly check
This commit is contained in:
Dessalines 2021-11-02 11:15:19 -04:00 committed by GitHub
parent b18ea3e0cc
commit 87bc2763ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,9 +1,9 @@
#!/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 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
./scripts/update_config_defaults.sh ./scripts/update_config_defaults.sh