Fix all new warnings (#467)

This commit is contained in:
Denis Isidoro 2021-04-04 18:06:35 -03:00 committed by GitHub
parent b6be9db6a8
commit 17cd4f52d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 21 deletions

View file

@ -6,21 +6,21 @@ source "${NAVI_HOME}/scripts/install"
cd "$NAVI_HOME"
header "Cargo nighly fix..."
header "cargo clippy fix..."
cargo +nightly clippy --fix -Z unstable-options || true
header "Cargo fix..."
header "cargo fix..."
cargo fix || true
header "Cargo fmt..."
header "cargo fmt..."
cargo fmt || true
header "clippy..."
cargo clippy || true
header "dot code beautify..."
find scripts -type f | xargs -I% dot code beautify % || true
dot code beautify "${NAVI_HOME}/alfred/alfred.bash" || true
dot code beautify "${NAVI_HOME}/alfred/alfred2.bash" || true
dot code beautify "${NAVI_HOME}/tests/core.bash" || true
dot code beautify "${NAVI_HOME}/tests/run" || true
header "clippy..."
cargo clippy || true