Ignore binary files when whitespace linting
Update the whitespace linter script to avoid tripping on png files, using git-grep option: -I Don’t match the pattern in binary files. Change-Id: Ifcd60354086cc606dbd3e71981484201b00c619c
This commit is contained in:
parent
742e12c638
commit
4ed7005329
@ -2,7 +2,7 @@
|
||||
|
||||
set -x
|
||||
|
||||
RES=$(git grep -E -l " +$")
|
||||
RES=$(git grep -E -l -I " +$")
|
||||
|
||||
if [[ -n $RES ]]; then
|
||||
exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user