diff --git a/build-support/check-format.sh b/build-support/check-format.sh index f247fa01a3..f68a278985 100755 --- a/build-support/check-format.sh +++ b/build-support/check-format.sh @@ -30,5 +30,4 @@ export DORIS_HOME=`cd "${ROOT}/.."; pwd` CLANG_FORMAT=${CLANG_FORMAT_BINARY:=$(which clang-format)} -python3 ${DORIS_HOME}/build-support/run_clang_format.py "--clang-format-executable" "${CLANG_FORMAT}" "-r" "--style" "file" "--inplace" "false" "--extensions" "c,h,C,H,cpp,hpp,cc,hh,c++,h++,cxx,hxx" "--exclude" "none" "be/src be/test" - +python ${DORIS_HOME}/build-support/run_clang_format.py "--clang-format-executable" "${CLANG_FORMAT}" "-r" "--style" "file" "--inplace" "false" "--extensions" "c,h,C,H,cpp,hpp,cc,hh,c++,h++,cxx,hxx" "--exclude" "none" "be/src be/test" diff --git a/build-support/clang-format.sh b/build-support/clang-format.sh index 04464fc78e..005458372c 100755 --- a/build-support/clang-format.sh +++ b/build-support/clang-format.sh @@ -30,6 +30,4 @@ export DORIS_HOME=`cd "${ROOT}/.."; pwd` CLANG_FORMAT=${CLANG_FORMAT_BINARY:=$(which clang-format)} -python3 ${DORIS_HOME}/build-support/run_clang_format.py "--clang-format-executable" "${CLANG_FORMAT}" "-r" "--style" "file" "--inplace" "true" "--extensions" "c,h,C,H,cpp,hpp,cc,hh,c++,h++,cxx,hxx" "--exclude" "none" "be/src be/test" - - +python ${DORIS_HOME}/build-support/run_clang_format.py "--clang-format-executable" "${CLANG_FORMAT}" "-r" "--style" "file" "--inplace" "true" "--extensions" "c,h,C,H,cpp,hpp,cc,hh,c++,h++,cxx,hxx" "--exclude" "none" "be/src be/test"