Move the new git provider function to the abstract interface

This commit is contained in:
Ori Kotek
2023-07-18 12:26:49 +03:00
parent 7d108992fc
commit 13092118dc
5 changed files with 23 additions and 4 deletions

View File

@ -57,7 +57,6 @@ class GithubProvider(GitProvider):
self.pr.comments_list.append(response)
def publish_inline_comment(self, body: str, relevant_file: str, relevant_line_in_file: str):
logging.warning("Using deprecated `publish_inline_comment` - use `publish_inline_comments` instead")
self.publish_inline_comments([self.create_inline_comment(body, relevant_file, relevant_line_in_file)])
def create_inline_comment(self, body: str, relevant_file: str, relevant_line_in_file: str):