Skip to content

Commit 99cf1c9

Browse files
authored
chore: use forge fmt --check to fail hook correctly (#247)
1 parent 35eb4b0 commit 99cf1c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.rusty-hook.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[hooks]
2-
pre-commit = "forge fmt && forge snapshot --check --match-contract Gas && forge test -vvv"
2+
pre-commit = "forge fmt --check && forge snapshot --check --match-contract Gas && forge test -vvv"
33

44
[logging]
55
verbose = true

0 commit comments

Comments
 (0)