mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-04 21:00:40 +08:00
Overall_success
Correct the spelling of this variable. Fix spelling errors now will prevent issues going forward where people have to misspell something on purpose
This commit is contained in:
@ -445,7 +445,7 @@ class AzureDevopsProvider(GitProvider):
|
|||||||
return dict(body=body, path=path, position=position, absolute_position=absolute_position) if subject_type == "LINE" else {}
|
return dict(body=body, path=path, position=position, absolute_position=absolute_position) if subject_type == "LINE" else {}
|
||||||
|
|
||||||
def publish_inline_comments(self, comments: list[dict], disable_fallback: bool = False):
|
def publish_inline_comments(self, comments: list[dict], disable_fallback: bool = False):
|
||||||
overall_sucess = True
|
overall_success = True
|
||||||
for comment in comments:
|
for comment in comments:
|
||||||
try:
|
try:
|
||||||
self.publish_comment(comment["body"],
|
self.publish_comment(comment["body"],
|
||||||
@ -467,8 +467,8 @@ class AzureDevopsProvider(GitProvider):
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
if get_settings().config.verbosity_level >= 2:
|
if get_settings().config.verbosity_level >= 2:
|
||||||
get_logger().error(f"Failed to publish code suggestion, error: {e}")
|
get_logger().error(f"Failed to publish code suggestion, error: {e}")
|
||||||
overall_sucess = False
|
overall_success = False
|
||||||
return overall_sucess
|
return overall_success
|
||||||
|
|
||||||
def get_title(self):
|
def get_title(self):
|
||||||
return self.pr.title
|
return self.pr.title
|
||||||
|
Reference in New Issue
Block a user