diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/clang-tools.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/clang-tools.sh b/scripts/clang-tools.sh index 5536a730e4..48675e3ab1 100755 --- a/scripts/clang-tools.sh +++ b/scripts/clang-tools.sh @@ -37,7 +37,7 @@ function run_clang_tidy_diff() { ${CLANG_TIDY_PREFIX}/share/clang-tidy-diff.py \ -clang-tidy-binary ${CLANG_TIDY} \ 2>/dev/null) - if [[ -n $OUTPUT ]]; then + if [[ -n $OUTPUT ]] && [[ $OUTPUT != "No relevant changes found." ]]; then echo -e "${OUTPUT}" exit 1 fi |