Ignore deleted files in format test

Otherwise clang-format would fail with an error and exit the script
prematurely.
This commit is contained in:
Riku Isokoski 2022-05-01 12:07:39 +03:00 committed by JF
parent 015f17cd25
commit c94e0d53bb

View file

@ -12,6 +12,7 @@ CHANGED=0
for file in $CHANGED_FILES
do
[ -e "$file" ] || continue
case "$file" in
*.cpp|*.h)
echo Checking "$file"