Browse Source
Merge pull request #12639 from liamwhite/format-oops
ci: fix format task
pull/15/merge
Charles Lombardo
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
2 deletions
-
.ci/scripts/format/script.sh
|
|
|
@ -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 |
|
|
|
|