We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4163b7 commit 38aa0d1Copy full SHA for 38aa0d1
1 file changed
gitscan.sh
@@ -75,8 +75,8 @@ fi
75
EXCLUDE="--exclude=/.git"
76
REPO=$(pwd)
77
78
-echo "Scanning working directory (excluding .git)..."
79
-output=$(/usr/bin/clamscan -ri --no-summary $ADDITIONAL_OPTIONS "$EXCLUDE" .)
+echo "Scanning working directory..."
+output=$(/usr/bin/clamscan -ri --no-summary $ADDITIONAL_OPTIONS .)
80
if echo "$output" | grep -q "FOUND"; then
81
echo "Found malicious file in ref $(git rev-parse HEAD)" | tee -a /output.txt
82
echo "$output" | tee -a /output.txt
0 commit comments