[CI] Do not run clang-format on vendor files

If $changed_files was empty, clang-format ran on the full set of
changes, which included files in the vendor directories.
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 81ae8bd..1fa3c41 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -58,7 +58,7 @@
         #echo "##vso[task.issue type=error;sourcepath=/azure-pipelines.yml;linenumber=45;columnnumber=1;code=100;]Found something that could be a problem."
         fork_origin=$(git merge-base --fork-point origin/master)
         changed_files=$(git diff --name-only $fork_origin | grep -v /vendor/)
-        git diff -U0 $fork_origin $changed_files | clang-format-diff -p1 | tee clang-format-output
+        test -z $changed_files || git diff -U0 $fork_origin $changed_files | clang-format-diff -p1 | tee clang-format-output
         if [ -s clang-format-output ]; then
           echo -n "##vso[task.logissue type=error]"
           echo "C/C++ lint failed. Use 'util/run-clang-format.sh' or 'git clang-format' to format the code."