We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0ea45b commit c4163b7Copy full SHA for c4163b7
1 file changed
gitscan.sh
@@ -76,7 +76,7 @@ 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" "$REPO")
+output=$(/usr/bin/clamscan -ri --no-summary $ADDITIONAL_OPTIONS "$EXCLUDE" .)
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