From 74bb07e9c40e735b47eed0d13b621e27a0f76bef Mon Sep 17 00:00:00 2001 From: mrT23 Date: Sun, 23 Jun 2024 21:17:34 +0300 Subject: [PATCH] fix: correct indentation in PR description preparation logic --- pr_agent/tools/pr_description.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pr_agent/tools/pr_description.py b/pr_agent/tools/pr_description.py index 52194285..fff0c3f5 100644 --- a/pr_agent/tools/pr_description.py +++ b/pr_agent/tools/pr_description.py @@ -101,9 +101,9 @@ class PRDescription: pr_title, pr_body, changes_walkthrough, pr_file_changes = self._prepare_pr_answer_with_markers() else: pr_title, pr_body, changes_walkthrough, pr_file_changes = self._prepare_pr_answer() - if not self.git_provider.is_supported( - "publish_file_comments") or not get_settings().pr_description.inline_file_summary: - pr_body += "\n\n" + changes_walkthrough + if not self.git_provider.is_supported( + "publish_file_comments") or not get_settings().pr_description.inline_file_summary: + pr_body += "\n\n" + changes_walkthrough get_logger().debug("PR output", artifact={"title": pr_title, "body": pr_body}) # Add help text if gfm_markdown is supported