Skip to content

Commit

Permalink
chore: make clippy warnings errors in ci_checks script (FuelLabs#…
Browse files Browse the repository at this point in the history
…4682)

## Description
closes FuelLabs#4678.

This PR updates `ci_checks.sh` so that `clippy` warnings are treated as
errors, just like the CI. This improves the correspondence between ci
and the `ci_checks.sh` script.
  • Loading branch information
kayagokalp authored Jun 21, 2023
1 parent 91ce0f2 commit fd8a28b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# `cargo install cargo-generate`
# `cargo install cargo-udeps`

cargo clippy --all-features --all-targets &&
cargo clippy --all-features --all-targets -- -D warnings &&
cargo sort -w --check &&
cargo sort -w --check templates/sway-test-rs/template &&
cargo fmt --all -- --check &&
Expand Down

0 comments on commit fd8a28b

Please sign in to comment.