Skip to content

Commit c6cc5fe

Browse files
committed
build: Move cargo fmt before clippy in clippy.sh
1 parent 250989d commit c6cc5fe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/clippy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
set -exuo pipefail
44
cd "$(dirname "$0")/.."
55

6-
cargo clippy --workspace --all-targets --fix --allow-dirty --allow-staged "$@" -- -D warnings
7-
86
cargo fmt
97

8+
cargo clippy --workspace --all-targets --fix --allow-dirty --allow-staged "$@" -- -D warnings
9+
1010
git status -s

0 commit comments

Comments
 (0)