diff --git a/scripts/lint.sh b/scripts/lint.sh index b62f0d3..7618d4a 100755 --- a/scripts/lint.sh +++ b/scripts/lint.sh @@ -22,7 +22,7 @@ echo "Running linters... =====================================" cd "${WORKSPACE}" # Let clang format apply patches --diff doesn't produces results in the format we want. -git-clang-format --style=llvm +git-clang-format set +e git diff -U0 --exit-code > "${TARGET_DIR}"/clang-format.patch STATUS="${PIPESTATUS[0]}"