Explorar o código

travis: Ignore binary files when checking for trailing whitespace

Cameron Cawley %!s(int64=7) %!d(string=hai) anos
pai
achega
41674d20ac
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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