Skip to content

Commit f6e0489

Browse files
committed
fix(ci): make invisible-character PCRE locale-independent
1 parent 2fb0969 commit f6e0489

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
@@ -116,7 +116,7 @@ jobs:
116116
# Checks for: zero-width spaces, zero-width joiners, BOM, soft hyphens,
117117
# non-breaking spaces, null bytes, and other invisible Unicode in source files.
118118
set +e
119-
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}'
119+
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}]'
120120
find "$GITHUB_WORKSPACE" \
121121
-not -path '*/.git/*' -not -path '*/node_modules/*' \
122122
-not -path '*/.deno/*' -not -path '*/target/*' \

0 commit comments

Comments
 (0)