mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-13 11:25:18 +00:00
s
This commit is contained in:
parent
d942bdb8bd
commit
e54388d807
1 changed files with 1 additions and 1 deletions
|
|
@ -315,7 +315,7 @@ class GithubProvider(GitProvider):
|
|||
fixed_comments = []
|
||||
for comment in invalid_comments:
|
||||
try:
|
||||
fixed_comment = copy.copy(comment) # avoid modifying the original comment dict for later logging
|
||||
fixed_comment = copy.deepcopy(comment) # avoid modifying the original comment dict for later logging
|
||||
if "```suggestion" in comment["body"]:
|
||||
fixed_comment["body"] = comment["body"].split("```suggestion")[0]
|
||||
if "start_line" in comment:
|
||||
|
|
|
|||
Loading…
Reference in a new issue