1
0
Fork 0

fix empty line removal for clang-tidy #136

This commit is contained in:
Mikhail Goncharov 2020-03-10 13:21:12 +01:00
parent 11acc823ed
commit 2fc3174a5c

View file

@ -32,6 +32,6 @@ set -e
git checkout -- .
# clang-tidy
git diff -U0 HEAD | "${SCRIPT_DIR}/ignore_diff.py" "${SCRIPT_DIR}/clang-tidy.ignore" | clang-tidy-diff -p1 -quiet | sed '${/^[[:space:]]*$/d;}' > "${TARGET_DIR}"/clang-tidy.txt
git diff -U0 HEAD | "${SCRIPT_DIR}/ignore_diff.py" "${SCRIPT_DIR}/clang-tidy.ignore" | clang-tidy-diff -p1 -quiet | sed "/^[[:space:]]*$/d" > "${TARGET_DIR}"/clang-tidy.txt
echo "linters completed ======================================"