Skip to content

Commit adbde6c

Browse files
Fix lint check for 0x%[^x] to allow "*"
1 parent 3f86b4d commit adbde6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ jobs:
242242
output.
243243
if: always()
244244
run: |
245-
git grep -I -n '0x%[0-9l.-]*[^0-9lxX".-]' -- './*' ':(exclude).github/workflows/lint.yml' && exit 1 || exit 0
245+
git grep -I -n '0x%[0-9l.*-]*[^xX"0-9l.*-]' -- './*' ':(exclude).github/workflows/lint.yml' && exit 1 || exit 0
246246
247247
# git grep exits with 0 if it finds a match, but we want
248248
# to fail (exit nonzero) on match. And we want to exclude this file,

0 commit comments

Comments
 (0)