mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
cleanup missing -P specifier on grep regex
looks like the regex is perl syntax
This commit is contained in:
parent
ca5845c2f6
commit
5f0e2a48b0
1 changed files with 1 additions and 1 deletions
|
|
@ -11,6 +11,6 @@ jobs:
|
||||||
- name: Check .rs files for trailing whitespace
|
- name: Check .rs files for trailing whitespace
|
||||||
run: >
|
run: >
|
||||||
find . -name '*.rs' -print0
|
find . -name '*.rs' -print0
|
||||||
| xargs -0 grep -c --with-filename '[ \t]$'
|
| xargs -0 grep -c --with-filename -P '[ \t]$'
|
||||||
| grep -v ':0$'
|
| grep -v ':0$'
|
||||||
| perl -e 'while(<>){print;$n+=1};if($n>0){exit 1;};print "PASS\n";'
|
| perl -e 'while(<>){print;$n+=1};if($n>0){exit 1;};print "PASS\n";'
|
||||||
Loading…
Reference in a new issue