From 4ba85b2e88b402fb6926ff77a2920b645fe3861e Mon Sep 17 00:00:00 2001 From: alpha912 Date: Sun, 21 Dec 2025 13:19:06 +0000 Subject: [PATCH] fix(ci): exclude checker file in grep --- scripts/check-domains.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check-domains.sh b/scripts/check-domains.sh index a06083a..9ac773f 100755 --- a/scripts/check-domains.sh +++ b/scripts/check-domains.sh @@ -18,7 +18,7 @@ if command -v rg >/dev/null 2>&1; then exit 1 fi else - 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 + if grep -RIn -E "(${pattern})" --exclude-dir=node_modules --exclude-dir=.git --exclude-dir=dist --exclude=DOMAIN-POLICY.md --exclude=check-domains.sh . ; then echo "Banned domains found." exit 1 fi