Skip to content

Commit

Permalink
Fix format check
Browse files Browse the repository at this point in the history
  • Loading branch information
samparent97 committed Apr 30, 2024
1 parent f0c6aea commit 16a3809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ 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 formatti.github/workflows/pr-format-check.ymlng is already correct."
echo "Code formatting 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
Expand Down

0 comments on commit 16a3809

Please sign in to comment.