Skip to content

Commit 338919b

Browse files
committed
[ci] Limit ascii check to text files
1 parent b41efe9 commit 338919b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/format.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
- name: Scan files for non-ASCII characters
2525
run: |
26-
if grep -rnP '[^\x00-\x7F]' --exclude-dir=.git .; then
26+
if grep -rnIP '[^\x00-\x7F]' --exclude-dir=.git .; then
2727
echo "error: non-ASCII characters found."
2828
exit 1
2929
fi

0 commit comments

Comments
 (0)