mirror of https://github.com/LemmyNet/lemmy.git
Fix husky fmt hook. (#1868)
* Fix husky fmt hook. * Change to use default cargo * Using nightly checkpost_comment_deleted_check
parent
b18ea3e0cc
commit
87bc2763ce
|
@ -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 New Issue