diff --git a/utils/style_check.sh b/utils/style_check.sh index 34f5688fd7..2dec2a1964 100755 --- a/utils/style_check.sh +++ b/utils/style_check.sh @@ -40,6 +40,8 @@ function check_clang_version() { MSG="requires clang-format version==14.0" if [ "x$CSTYLE_FAIL_IF_CLANG_FORMAT_MISSING" == "x1" ]; then echo "FAIL: $MSG" + which ${clang_format_bin} + ${clang_format_bin} --version exit 1 else echo "SKIP: $MSG"