We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5c6468 commit c77da75Copy full SHA for c77da75
.husky/pre-commit
@@ -30,7 +30,7 @@ talisman_failed=false
30
31
# Run Snyk vulnerability scan
32
echo "Running Snyk vulnerability scan..."
33
-snyk test --all-projects > snyk_output.log 2>&1
+snyk test --all-projects --fail-on=all > snyk_output.log 2>&1
34
snyk_exit_code=$?
35
36
if [ $snyk_exit_code -eq 0 ]; then
@@ -66,4 +66,4 @@ fi
66
# If both scans pass, allow the commit
67
echo "All scans passed. Proceeding with commit.cd ."
68
rm -f snyk_output.log talisman_output.log
69
-exit 0
+exit 0
0 commit comments