Skip to content

Conversation

@SoniEx2
Copy link
Collaborator

@SoniEx2 SoniEx2 commented Feb 18, 2025

git clang-format appears to now return an exit status instead of always succeeding, and the change broke the script. this fixes it.

git clang-format appears to now return an exit status instead of always
succeeding, and the change broke the script. so, just make it always
succeed again.
@SoniEx2 SoniEx2 requested a review from sbc100 February 18, 2025 16:06
FORMAT_MSG=$(git clang-format $MERGE_BASE -q --diff -- src/ || true)
if [ -n "$FORMAT_MSG" -a "$FORMAT_MSG" != "no modified files to format" ]
if ! git clang-format $MERGE_BASE -q --diff -- src/ 2>&1 >/dev/null
then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you move this ; then to the line above?

@SoniEx2 SoniEx2 merged commit 40be47d into WebAssembly:main Feb 18, 2025
18 checks passed
@SoniEx2 SoniEx2 deleted the fix-lint branch February 18, 2025 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants