Skip to content

Commit 4e5a45d

Browse files
committed
fix(ci): make invisible-character PCRE locale-independent
1 parent bdc7065 commit 4e5a45d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/dogfood-gate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ jobs:
150150
# Checks for: zero-width spaces, zero-width joiners, BOM, soft hyphens,
151151
# non-breaking spaces, null bytes, and other invisible Unicode in source files.
152152
set +e
153-
PATTERNS='\x00|[\x01-\x08\x0B\x0C\x0E-\x1F]|\x{a0}|\x{ad}|\x{200b}|\x{200c}|\x{200d}|\x{200e}|\x{200f}|\x{202a}|\x{202b}|\x{202c}|\x{202d}|\x{202e}|\x{2060}|\x{feff}'
153+
PATTERNS='(*UTF)[\x00-\x08\x0B\x0C\x0E-\x1F\x{a0}\x{ad}\x{200b}-\x{200f}\x{202a}-\x{202f}\x{2060}\x{2066}-\x{2069}\x{feff}]'
154154
find "$GITHUB_WORKSPACE" \
155155
-not -path '*/.git/*' -not -path '*/node_modules/*' \
156156
-not -path '*/.deno/*' -not -path '*/target/*' \

0 commit comments

Comments
 (0)