Przeglądaj źródła

Display line numbers in CI whitespace check

Yuri Kunde Schlesner 11 lat temu
rodzic
commit
a9fd93347d
1 zmienionych plików z 1 dodań i 1 usunięć
  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