Merge pull request #4327 from ccawley2011/patch-1

travis: Ignore binary files when checking for trailing whitespace
This commit is contained in:
Pengfei Zhu
2018-10-11 09:44:13 -05:00
committed by GitHub

View File

@@ -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