Skip to content

Commit 428660c

Browse files
committed
[GitHub] Don't indent comment that revision has passed the formatting check
Due to the way the f string was written, the text ended up with 4 spaces at the start. 4 space indent in Markdown means plain text, which is not what we intend here.
1 parent 9e3d915 commit 428660c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/utils/git/code-format-helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ def run(self, changed_files: List[str], args: FormatArgs) -> bool:
131131
if diff is None:
132132
if should_update_gh:
133133
comment_text = f"""
134-
:white_check_mark: With the latest revision this PR passed the {self.friendly_name}.
135-
"""
134+
:white_check_mark: With the latest revision this PR passed the {self.friendly_name}.
135+
"""
136136
self.update_pr(comment_text, args, create_new=False)
137137
return True
138138
elif len(diff) > 0:

0 commit comments

Comments
 (0)