diff options
author | Charles Lombardo <clombardo169@gmail.com> | 2024-01-10 12:44:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-10 12:44:07 -0500 |
commit | 6533dfd7cede9ff84b7047e887b2ff86303c964a (patch) | |
tree | 7d8993c1ab55b2d806de5774f0413d4550bc988c | |
parent | 4fdc9005816575490198626362fae58d9ca0ad9e (diff) | |
parent | e11a3414ae7114954345512e75583d0cf199c8c6 (diff) |
Merge pull request #12639 from liamwhite/format-oops
ci: fix format task
-rwxr-xr-x | .ci/scripts/format/script.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.ci/scripts/format/script.sh b/.ci/scripts/format/script.sh index c9c5e4fac..572fa9ffb 100755 --- a/.ci/scripts/format/script.sh +++ b/.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 |