This is an automated email from the ASF dual-hosted git repository. fgerlits pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git
commit 19deb1e81a928e52b7f4e33e4cae9455cf0d6757 Author: Gabor Gyimesi <[email protected]> AuthorDate: Fri Jun 24 13:50:03 2022 +0200 MINIFICPP-1868 Exclude deleted files from clang-tidy checks Signed-off-by: Ferenc Gerlits <[email protected]> This closes #1357 --- run_clang_tidy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_clang_tidy.sh b/run_clang_tidy.sh index 09e91bafd..c880a357e 100755 --- a/run_clang_tidy.sh +++ b/run_clang_tidy.sh @@ -13,7 +13,7 @@ for changed_file in ${FILES}; do continue 2 fi done - if [[ "${changed_file}" == *.cpp ]]; then + if [[ "${changed_file}" == *.cpp ]] && [[ -f "${changed_file}" ]]; then clang-tidy-14 -warnings-as-errors=* -quiet -p build "${changed_file}" exit_code=$(( $? | exit_code )) fi;
