From f0c6aea8bac84f5be95bdfd4b404738b800273b4 Mon Sep 17 00:00:00 2001 From: samparent97 Date: Tue, 30 Apr 2024 15:01:30 -0300 Subject: [PATCH] Fix format check --- .github/workflows/pr-format-check.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-format-check.yml b/.github/workflows/pr-format-check.yml index 8cdc72680..295acf9eb 100644 --- a/.github/workflows/pr-format-check.yml +++ b/.github/workflows/pr-format-check.yml @@ -25,8 +25,8 @@ jobs: run: | git clang-format --style=file:firmware/.clang-format --diff $(git merge-base HEAD main) -v > clang_format_output.txt if grep -q "clang-format did not modify any files" clang_format_output.txt; then - echo "Code formatting is already correct." - elif grep -q ".github/workflows/pr-format-check.ymlRunning clang-format on the following files" clang_format_output.txt; then + echo "Code formatti.github/workflows/pr-format-check.ymlng is already correct." + elif grep -q "Running clang-format on the following files" clang_format_output.txt; then echo "Code formatting changes detected." exit 1 fi