diff options
author | Heejin Ahn <aheejin@gmail.com> | 2019-05-06 11:42:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-06 11:42:20 -0700 |
commit | ae7c24e664cf95fb63fcb2bac2477d7391cae01b (patch) | |
tree | d6478f7117d648cfcb810ce05fc6cb316d004c45 | |
parent | 923c6465c97dc22d0eccc6fcbf4c5ae701e92ea8 (diff) | |
download | binaryen-ae7c24e664cf95fb63fcb2bac2477d7391cae01b.tar.gz binaryen-ae7c24e664cf95fb63fcb2bac2477d7391cae01b.tar.bz2 binaryen-ae7c24e664cf95fb63fcb2bac2477d7391cae01b.zip |
Don't show stderr output of clang-tidy in Travis CI (#2089)
When we run clang-tidy for the second time to show the error, don't show
stderr output because they are not very helpful and all error messages
are printed in stdout.
-rwxr-xr-x | clang-tidy-diff.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tidy-diff.sh b/clang-tidy-diff.sh index 931ad1a11..ece8776f9 100755 --- a/clang-tidy-diff.sh +++ b/clang-tidy-diff.sh @@ -8,6 +8,6 @@ then echo "Fix clang-tidy errors before committing!" echo # Run clang-tidy once again to show the error - git diff -U0 $MERGE_BASE | $CLANG_TIDY_DIFF -quiet -p1 + git diff -U0 $MERGE_BASE | $CLANG_TIDY_DIFF -quiet -p1 2> /dev/null exit 1 fi |