Skip to content

Commit 7e71e6a

Browse files
committed
fix(ci): make invisible-character PCRE locale-independent
1 parent 929b3a9 commit 7e71e6a

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
@@ -135,7 +135,7 @@ jobs:
135135
# Checks for: zero-width spaces, zero-width joiners, BOM, soft hyphens,
136136
# non-breaking spaces, null bytes, and other invisible Unicode in source files.
137137
set +e
138-
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}'
138+
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}]'
139139
find "$GITHUB_WORKSPACE" \
140140
-not -path '*/.git/*' -not -path '*/node_modules/*' \
141141
-not -path '*/.deno/*' -not -path '*/target/*' \

0 commit comments

Comments
 (0)