From e11a3414ae7114954345512e75583d0cf199c8c6 Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 10 Jan 2024 11:52:58 -0500 Subject: ci: fix format task --- .ci/scripts/format/script.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '.ci/scripts/format/script.sh') 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 -- cgit v1.2.3