mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 16:54:59 +00:00
check for dirname on --clean
This commit is contained in:
parent
7736289309
commit
29d60b9ddb
1 changed files with 4 additions and 0 deletions
|
@ -63,6 +63,10 @@ def main(
|
|||
if len(dirname.parts) == 1:
|
||||
dirname = BENCHMARK_DNAME / dirname
|
||||
|
||||
if clean and not dirname.exists():
|
||||
print(f"--clean requires that {dirname} exists")
|
||||
return
|
||||
|
||||
now = datetime.datetime.now()
|
||||
now = now.strftime("%Y-%m-%d-%H-%M--")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue