Browse Source

Display line numbers in CI whitespace check

Yuri Kunde Schlesner 11 năm trước cách đây
mục cha
commit
a9fd93347d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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