From e53badbac404fafc0f8f552a4fc0cb309b6e8e26 Mon Sep 17 00:00:00 2001 From: BrianTeeman Date: Sun, 16 Jun 2024 17:12:11 +0100 Subject: [PATCH] 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 --- pr_agent/git_providers/azuredevops_provider.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pr_agent/git_providers/azuredevops_provider.py b/pr_agent/git_providers/azuredevops_provider.py index 9578e0fb..e4ea67f0 100644 --- a/pr_agent/git_providers/azuredevops_provider.py +++ b/pr_agent/git_providers/azuredevops_provider.py @@ -445,7 +445,7 @@ class AzureDevopsProvider(GitProvider): 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): - overall_sucess = True + overall_success = True for comment in comments: try: self.publish_comment(comment["body"], @@ -467,8 +467,8 @@ class AzureDevopsProvider(GitProvider): except Exception as e: if get_settings().config.verbosity_level >= 2: get_logger().error(f"Failed to publish code suggestion, error: {e}") - overall_sucess = False - return overall_sucess + overall_success = False + return overall_success def get_title(self): return self.pr.title