Fix husky fmt hook. (#1868)

* Fix husky fmt hook.

* Change to use default cargo

* Using nightly check
post_comment_deleted_check
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
1 changed files with 2 additions and 2 deletions

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