瀏覽代碼

travis: Ignore binary files when checking for trailing whitespace

Cameron Cawley 7 年之前
父節點
當前提交
41674d20ac
共有 1 個文件被更改,包括 1 次插入1 次删除
  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