Updated pre-commit script to print command before executing and disallow running with unstaged changes
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-04-12 01:25:24 +02:00
parent ca8821b406
commit 9e9e9296e9
+3
View File
@@ -8,5 +8,8 @@ set -o noglob # Disable filename expansion (globbing),
# path splitting.
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 fmt -- --check