Skip to content

Commit

Permalink
Fix create copilot comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hlohaus committed Jan 23, 2024
1 parent ec2de56 commit 55695ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/tool/copilot.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def main():
if comments:
pull.create_review(body=review, comments=comments)
else:
pull.create_comment(body=review)
pull.create_issue_comment(body=review)
except Exception as e:
print(f"Error posting review: {e}")
exit(1)
Expand Down

0 comments on commit 55695ed

Please sign in to comment.