Browse Source

travis: Ignore binary files when checking for trailing whitespace

Cameron Cawley 7 năm trước cách đây
mục cha
commit
41674d20ac
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      .travis/clang-format/script.sh

+ 1 - 1
.travis/clang-format/script.sh

@@ -1,6 +1,6 @@
 #!/bin/bash -ex
 
-if grep -nr '\s$' src *.yml *.txt *.md Doxyfile .gitignore .gitmodules .travis* dist/*.desktop \
+if grep -nrI '\s$' src *.yml *.txt *.md Doxyfile .gitignore .gitmodules .travis* dist/*.desktop \
                  dist/*.svg dist/*.xml; then
     echo Trailing whitespace found, aborting
     exit 1