summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xclang-tidy-diff.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang-tidy-diff.sh b/clang-tidy-diff.sh
index b6db60947..2e5cfc441 100755
--- a/clang-tidy-diff.sh
+++ b/clang-tidy-diff.sh
@@ -3,6 +3,7 @@
# In settings in which build directory is different than binaryen/, we don't
# have this file in binaryen/, so we skip the test.
if [ ! -f compile_commands.json ]
+then
exit 0
fi