Skip to content

Commit ec82e09

Browse files
committed
Update print
1 parent 9cd85be commit ec82e09

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,19 +118,19 @@ def add_pr_comments() -> int:
118118

119119
# Fetch all existing comments on the PR
120120
comments = pull_request.get_comments()
121-
print(f"List all comments: \n ${comments}")
121+
print(f"List all comments:\n{comments}")
122122

123123
# Track if we found a matching comment
124124
matching_comments = []
125125
last_comment = None
126126

127127
for comment in comments:
128-
print(f"List comment: \n ${comment.body}")
128+
print(f"List comment:\n{comment.body}")
129129
if comment.body.startswith(SUCCESS_TITLE) or comment.body.startswith(
130130
FAILURE_TITLE
131131
):
132132
matching_comments.append(comment)
133-
print(f"List all matching_comments: \n ${matching_comments}")
133+
print(f"List all matching_comments:\n{matching_comments}")
134134
if matching_comments:
135135
last_comment = matching_comments[-1]
136136

0 commit comments

Comments
 (0)