Skip to content

Commit c77da75

Browse files
authored
Update pre-commit
1 parent a5c6468 commit c77da75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.husky/pre-commit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ talisman_failed=false
3030

3131
# Run Snyk vulnerability scan
3232
echo "Running Snyk vulnerability scan..."
33-
snyk test --all-projects > snyk_output.log 2>&1
33+
snyk test --all-projects --fail-on=all > snyk_output.log 2>&1
3434
snyk_exit_code=$?
3535

3636
if [ $snyk_exit_code -eq 0 ]; then
@@ -66,4 +66,4 @@ fi
6666
# If both scans pass, allow the commit
6767
echo "All scans passed. Proceeding with commit.cd ."
6868
rm -f snyk_output.log talisman_output.log
69-
exit 0
69+
exit 0

0 commit comments

Comments
 (0)