Explorar o código

Display line numbers in CI whitespace check

Yuri Kunde Schlesner %!s(int64=11) %!d(string=hai) anos
pai
achega
a9fd93347d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      .travis-build.sh

+ 1 - 1
.travis-build.sh

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