Skip to content

Commit 74a499e

Browse files
committed
fix(ci): make invisible-character PCRE locale-independent
1 parent b4d70b6 commit 74a499e

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

0 commit comments

Comments
 (0)