mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-14 08:23:59 +00:00
Fix husky fmt hook. (#1868)
* Fix husky fmt hook. * Change to use default cargo * Using nightly check
This commit is contained in:
parent
b18ea3e0cc
commit
87bc2763ce
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue