Skip to content

Commit 46707a8

Browse files
authored
fix(ci): exclude checker file in grep (#10)
1 parent 04f5300 commit 46707a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/check-domains.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if command -v rg >/dev/null 2>&1; then
1818
exit 1
1919
fi
2020
else
21-
if grep -RIn -E "(${pattern})" --exclude-dir=node_modules --exclude-dir=.git --exclude-dir=dist --exclude=DOMAIN-POLICY.md --exclude=scripts/check-domains.sh . ; then
21+
if grep -RIn -E "(${pattern})" --exclude-dir=node_modules --exclude-dir=.git --exclude-dir=dist --exclude=DOMAIN-POLICY.md --exclude=check-domains.sh . ; then
2222
echo "Banned domains found."
2323
exit 1
2424
fi

0 commit comments

Comments
 (0)