summaryrefslogtreecommitdiffstats
path: root/.ci/scripts/format/script.sh
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2024-01-10 17:52:58 +0100
committerLiam <byteslice@airmail.cc>2024-01-10 17:52:58 +0100
commite11a3414ae7114954345512e75583d0cf199c8c6 (patch)
tree7d8993c1ab55b2d806de5774f0413d4550bc988c /.ci/scripts/format/script.sh
parentMerge pull request #12634 from lat9nq/apple-intl-2 (diff)
downloadyuzu-e11a3414ae7114954345512e75583d0cf199c8c6.tar
yuzu-e11a3414ae7114954345512e75583d0cf199c8c6.tar.gz
yuzu-e11a3414ae7114954345512e75583d0cf199c8c6.tar.bz2
yuzu-e11a3414ae7114954345512e75583d0cf199c8c6.tar.lz
yuzu-e11a3414ae7114954345512e75583d0cf199c8c6.tar.xz
yuzu-e11a3414ae7114954345512e75583d0cf199c8c6.tar.zst
yuzu-e11a3414ae7114954345512e75583d0cf199c8c6.zip
Diffstat (limited to '.ci/scripts/format/script.sh')
-rwxr-xr-x.ci/scripts/format/script.sh3
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