mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 04:14:59 +00:00
fix: Only print Oldest issue #{oldest_issue['number']} left open if it is open
This commit is contained in:
parent
f3ad683d70
commit
b4fdb72a3a
1 changed files with 2 additions and 1 deletions
|
@ -142,7 +142,8 @@ def main():
|
|||
if issue["number"] != oldest_issue["number"]:
|
||||
comment_and_close_duplicate(issue, oldest_issue)
|
||||
|
||||
print(f"Oldest issue #{oldest_issue['number']} left open")
|
||||
if oldest_issue['state'] == 'open':
|
||||
print(f"Oldest issue #{oldest_issue['number']} left open")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue