tools/prepush: apply the formatting instead of checking it
Signed-off-by: Gunwant Jain <mail@wantguns.dev>
This commit is contained in:
parent
08ec2cbecb
commit
3a5212e09c
2 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
echo "[prepush] Running cargo fmt --check"
|
||||
cargo fmt -- --check
|
||||
echo "[prepush] Running cargo fmt"
|
||||
cargo fmt
|
||||
echo "[prepush] Running cargo clippy"
|
||||
cargo clippy -- -Dwarnings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue