소스 검색

Display line numbers in CI whitespace check

Yuri Kunde Schlesner 11 년 전
부모
커밋
a9fd93347d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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