4ed7005329
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
10 lines
96 B
Bash
Executable File
10 lines
96 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -x
|
|
|
|
RES=$(git grep -E -l -I " +$")
|
|
|
|
if [[ -n $RES ]]; then
|
|
exit 1
|
|
fi
|