Ignore deleted files in format test
Otherwise clang-format would fail with an error and exit the script prematurely.
This commit is contained in:
parent
015f17cd25
commit
c94e0d53bb
|
@ -12,6 +12,7 @@ CHANGED=0
|
|||
|
||||
for file in $CHANGED_FILES
|
||||
do
|
||||
[ -e "$file" ] || continue
|
||||
case "$file" in
|
||||
*.cpp|*.h)
|
||||
echo Checking "$file"
|
||||
|
|
Loading…
Reference in a new issue