mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-06 13:50:44 +08:00
fix: correct indentation in PR description preparation logic
This commit is contained in:
@ -101,9 +101,9 @@ class PRDescription:
|
|||||||
pr_title, pr_body, changes_walkthrough, pr_file_changes = self._prepare_pr_answer_with_markers()
|
pr_title, pr_body, changes_walkthrough, pr_file_changes = self._prepare_pr_answer_with_markers()
|
||||||
else:
|
else:
|
||||||
pr_title, pr_body, changes_walkthrough, pr_file_changes = self._prepare_pr_answer()
|
pr_title, pr_body, changes_walkthrough, pr_file_changes = self._prepare_pr_answer()
|
||||||
if not self.git_provider.is_supported(
|
if not self.git_provider.is_supported(
|
||||||
"publish_file_comments") or not get_settings().pr_description.inline_file_summary:
|
"publish_file_comments") or not get_settings().pr_description.inline_file_summary:
|
||||||
pr_body += "\n\n" + changes_walkthrough
|
pr_body += "\n\n" + changes_walkthrough
|
||||||
get_logger().debug("PR output", artifact={"title": pr_title, "body": pr_body})
|
get_logger().debug("PR output", artifact={"title": pr_title, "body": pr_body})
|
||||||
|
|
||||||
# Add help text if gfm_markdown is supported
|
# Add help text if gfm_markdown is supported
|
||||||
|
Reference in New Issue
Block a user