Browse Source

ci: fix format task

nce_cpp
Liam 2 years ago
parent
commit
ac6fb1ade0
  1. 3
      .ci/scripts/format/script.sh

3
.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

Loading…
Cancel
Save