mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 09:14:59 +00:00
style: move docstring to correct position in report_github_issue function
This commit is contained in:
parent
9f1b268740
commit
56a88018a9
1 changed files with 2 additions and 2 deletions
|
@ -6,8 +6,6 @@ from aider import __version__
|
|||
|
||||
|
||||
def report_github_issue(issue_text, title=None):
|
||||
version_info = f"Aider version: {__version__}\n\n"
|
||||
issue_text = version_info + issue_text
|
||||
"""
|
||||
Compose a URL to open a new GitHub issue with the given text prefilled,
|
||||
and attempt to launch it in the default web browser.
|
||||
|
@ -16,6 +14,8 @@ def report_github_issue(issue_text, title=None):
|
|||
:param title: The title of the issue (optional)
|
||||
:return: None
|
||||
"""
|
||||
version_info = f"Aider version: {__version__}\n\n"
|
||||
issue_text = version_info + issue_text
|
||||
base_url = "https://github.com/paul-gauthier/aider/issues/new"
|
||||
params = {"body": issue_text}
|
||||
if title is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue