Skip to content

Commit 360ff33

Browse files
committed
fix(ci): make invisible-character PCRE locale-independent
1 parent 69c20e2 commit 360ff33

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

0 commit comments

Comments
 (0)