Updated pre-commit script to print command before executing and disallow running with unstaged changes
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
ca8821b406
commit
9e9e9296e9
|
@ -8,5 +8,8 @@ set -o noglob # Disable filename expansion (globbing),
|
||||||
# path splitting.
|
# path splitting.
|
||||||
shopt -s inherit_errexit # Inherit the errexit option status in subshells.
|
shopt -s inherit_errexit # Inherit the errexit option status in subshells.
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
|
git update-index --refresh
|
||||||
cargo clippy --all-targets --all -- -D warnings
|
cargo clippy --all-targets --all -- -D warnings
|
||||||
cargo fmt -- --check
|
cargo fmt -- --check
|
||||||
|
|
Loading…
Reference in New Issue
Block a user