mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +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
|
from aider.report import report_github_issue
|
||||||
|
|
||||||
announcements = "\n".join(self.coder.get_announcements())
|
announcements = "\n".join(self.coder.get_announcements())
|
||||||
issue_text = f"User report:\n\n{args}\n\nAnnouncements:\n{announcements}"
|
issue_text = f"{'User report:\n\n' if args.strip() else ''}{args}\n\nAnnouncements:\n{announcements}"
|
||||||
report_github_issue(issue_text, confirm=True)
|
report_github_issue(issue_text, confirm=False)
|
||||||
|
|
||||||
|
|
||||||
def expand_subdir(file_path):
|
def expand_subdir(file_path):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue