mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 01:04:59 +00:00
refactor: update cmd_report to use confirm=False and conditional user report prefix
This commit is contained in:
parent
70994cfc5b
commit
1b5ef76c18
1 changed files with 2 additions and 2 deletions
|
@ -1140,8 +1140,8 @@ class Commands:
|
|||
from aider.report import report_github_issue
|
||||
|
||||
announcements = "\n".join(self.coder.get_announcements())
|
||||
issue_text = f"User report:\n\n{args}\n\nAnnouncements:\n{announcements}"
|
||||
report_github_issue(issue_text, confirm=True)
|
||||
issue_text = f"{'User report:\n\n' if args.strip() else ''}{args}\n\nAnnouncements:\n{announcements}"
|
||||
report_github_issue(issue_text, confirm=False)
|
||||
|
||||
|
||||
def expand_subdir(file_path):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue