mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-13 03:15:17 +00:00
extended_patch
This commit is contained in:
parent
83ff9a0b9b
commit
da44bd7d5e
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ def pr_generate_extended_diff(pr_languages: list,
|
|||
|
||||
# extend each patch with extra lines of context
|
||||
extended_patch = extend_patch(original_file_content_str, patch, num_lines=patch_extra_lines)
|
||||
if not extend_patch:
|
||||
if not extended_patch:
|
||||
get_logger().warning(f"Failed to extend patch for file: {file.filename}")
|
||||
continue
|
||||
full_extended_patch = f"\n\n## {file.filename}\n\n{extended_patch}\n"
|
||||
|
|
|
|||
Loading…
Reference in a new issue