Switch to broader matching

This commit is contained in:
Felipe Knorr Kuhn 2025-04-20 18:33:12 -07:00
parent 805271a93d
commit b684f4cc97
No known key found for this signature in database
GPG Key ID: 79619B52BB097C1A

View File

@ -5,7 +5,7 @@ found_js=false
for file in *.svg; do
[ -f "$file" ] || continue
if grep -i -E '<script' "$file" > /dev/null; then
if grep -i -E 'script' "$file" > /dev/null; then
echo "Javascript found in: $file"
found_js=true
fi