summaryrefslogtreecommitdiff
path: root/clang-tidy-diff.sh
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tidy-diff.sh')
-rwxr-xr-xclang-tidy-diff.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang-tidy-diff.sh b/clang-tidy-diff.sh
index 2e5cfc441..0bf952166 100755
--- a/clang-tidy-diff.sh
+++ b/clang-tidy-diff.sh
@@ -1,7 +1,8 @@
#!/bin/bash
-# In settings in which build directory is different than binaryen/, we don't
-# have this file in binaryen/, so we skip the test.
+# In some Travis CI settings in which the build directory is a subdirectory of
+# binaryen/, we don't have the compilation database file in binaryen/. We skip
+# the test in this case.
if [ ! -f compile_commands.json ]
then
exit 0