summaryrefslogtreecommitdiffstats
path: root/.ci/scripts/format
diff options
context:
space:
mode:
authorCharles Lombardo <clombardo169@gmail.com>2024-01-10 18:44:07 +0100
committerGitHub <noreply@github.com>2024-01-10 18:44:07 +0100
commit6533dfd7cede9ff84b7047e887b2ff86303c964a (patch)
tree7d8993c1ab55b2d806de5774f0413d4550bc988c /.ci/scripts/format
parentMerge pull request #12634 from lat9nq/apple-intl-2 (diff)
parentci: fix format task (diff)
downloadyuzu-6533dfd7cede9ff84b7047e887b2ff86303c964a.tar
yuzu-6533dfd7cede9ff84b7047e887b2ff86303c964a.tar.gz
yuzu-6533dfd7cede9ff84b7047e887b2ff86303c964a.tar.bz2
yuzu-6533dfd7cede9ff84b7047e887b2ff86303c964a.tar.lz
yuzu-6533dfd7cede9ff84b7047e887b2ff86303c964a.tar.xz
yuzu-6533dfd7cede9ff84b7047e887b2ff86303c964a.tar.zst
yuzu-6533dfd7cede9ff84b7047e887b2ff86303c964a.zip
Diffstat (limited to '.ci/scripts/format')
-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