Display line numbers in CI whitespace check

This commit is contained in:
Yuri Kunde Schlesner 2015-06-21 23:21:30 -03:00
parent dc09a2ecb5
commit a9fd93347d
1 changed files with 1 additions and 1 deletions

View File

@ -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