mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
refactor: simplify issues script by removing redundant flag
This commit is contained in:
parent
54b9c46b96
commit
6177856baf
1 changed files with 1 additions and 9 deletions
|
@ -205,11 +205,6 @@ def main():
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--yes", action="store_true", help="Automatically close duplicates without prompting"
|
"--yes", action="store_true", help="Automatically close duplicates without prompting"
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
|
||||||
"--find-unlabeled",
|
|
||||||
action="store_true",
|
|
||||||
help="Find unlabeled issues with paul-gauthier comments",
|
|
||||||
)
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
if not TOKEN:
|
if not TOKEN:
|
||||||
|
@ -218,10 +213,7 @@ def main():
|
||||||
|
|
||||||
all_issues = get_issues("all")
|
all_issues = get_issues("all")
|
||||||
|
|
||||||
if args.find_unlabeled:
|
handle_unlabeled_issues(all_issues, args.yes)
|
||||||
handle_unlabeled_issues(all_issues, args.yes)
|
|
||||||
return
|
|
||||||
|
|
||||||
handle_duplicate_issues(all_issues, args.yes)
|
handle_duplicate_issues(all_issues, args.yes)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue