forked from suyu/suyu
Merge pull request #12639 from liamwhite/format-oops
ci: fix format task
This commit is contained in:
commit
6533dfd7ce
1 changed files with 1 additions and 2 deletions
|
@ -5,8 +5,7 @@
|
|||
|
||||
shopt -s nullglob globstar
|
||||
|
||||
if grep -nrI '\s$' src **/*.yml **/*.txt **/*.md Doxyfile .gitignore .gitmodules .ci* dist/*.desktop \
|
||||
dist/*.svg dist/*.xml; then
|
||||
if git grep -nrI '\s$' src **/*.yml **/*.txt **/*.md Doxyfile .gitignore .gitmodules .ci* dist/*.desktop dist/*.svg dist/*.xml; then
|
||||
echo Trailing whitespace found, aborting
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue