Display line numbers in CI whitespace check

pull/8/head
Yuri Kunde Schlesner 10 years ago
parent dc09a2ecb5
commit a9fd93347d

@ -3,7 +3,7 @@
set -e
set -x
if grep -r '\s$' src *.yml *.txt *.md Doxyfile .gitignore .gitmodules .travis* dist/*.desktop \
if grep -nr '\s$' src *.yml *.txt *.md Doxyfile .gitignore .gitmodules .travis* dist/*.desktop \
dist/*.svg dist/*.xml; then
echo Trailing whitespace found, aborting
exit 1

Loading…
Cancel
Save