summaryrefslogtreecommitdiff
path: root/tools/ci/jobs/clang_tidy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci/jobs/clang_tidy.sh')
-rwxr-xr-xtools/ci/jobs/clang_tidy.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/tools/ci/jobs/clang_tidy.sh b/tools/ci/jobs/clang_tidy.sh
index 0c50d90fa..9e83cbcdf 100755
--- a/tools/ci/jobs/clang_tidy.sh
+++ b/tools/ci/jobs/clang_tidy.sh
@@ -18,11 +18,12 @@ check_error $?
cd ..
grep "warning:" logs/clang_tidy.txt \
-| grep -v "/src/unittests/doctest.h" \
-| grep -v "/src/unittests/catch.hpp" \
-| grep -v "/src/sdl2gfx/" \
-| grep -v "/src/debug/" \
->${ERRFILE}
+ | grep -v \
+ -e "/src/unittests/doctest.h" \
+ -e "/src/unittests/catch.hpp" \
+ -e "/src/sdl2gfx/" \
+ -e "/src/debug/" \
+ ">${ERRFILE}"
run_check_warnings