diff options
Diffstat (limited to '')
| -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 @@ | |||
| 5 | 5 | ||
| 6 | shopt -s nullglob globstar | 6 | shopt -s nullglob globstar |
| 7 | 7 | ||
| 8 | if grep -nrI '\s$' src **/*.yml **/*.txt **/*.md Doxyfile .gitignore .gitmodules .ci* dist/*.desktop \ | 8 | if git grep -nrI '\s$' src **/*.yml **/*.txt **/*.md Doxyfile .gitignore .gitmodules .ci* dist/*.desktop dist/*.svg dist/*.xml; then |
| 9 | dist/*.svg dist/*.xml; then | ||
| 10 | echo Trailing whitespace found, aborting | 9 | echo Trailing whitespace found, aborting |
| 11 | exit 1 | 10 | exit 1 |
| 12 | fi | 11 | fi |