Add 'original_suggestion' parameter to publish_inline_comment methods across git providers for enhanced inline comment handling

This commit is contained in:
mrT23
2024-08-16 08:58:51 +03:00
parent 402a388be0
commit 3456c8e039
11 changed files with 18 additions and 14 deletions

View File

@ -287,7 +287,7 @@ class PRReviewer:
if comment:
comments.append(comment)
else:
self.git_provider.publish_inline_comment(content, relevant_file, relevant_line_in_file)
self.git_provider.publish_inline_comment(content, relevant_file, relevant_line_in_file, suggestion)
if comments:
self.git_provider.publish_inline_comments(comments)