Skip to content

Commit

Permalink
Fix pre-commit script
Browse files Browse the repository at this point in the history
This fix makes pre-commit not to run checks behind
environment variable flag if it is not set
  • Loading branch information
akoshelev committed Sep 20, 2024
1 parent 743739b commit 4c393e3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Empty file added .pre-commit.stash4zjacb
Empty file.
2 changes: 1 addition & 1 deletion pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ check "Clippy checks" \
check "Tests" \
cargo test --features="cli test-fixture"

if [ -z "$EXEC_SLOW_TESTS" ]
if [ -n "$EXEC_SLOW_TESTS" ]
then

check "Benchmark compilation" \
Expand Down

0 comments on commit 4c393e3

Please sign in to comment.