mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 00:05:01 +00:00
fix: Ensure test_dnames include full path
This commit is contained in:
parent
93ac2bd53e
commit
0b970dd9c7
1 changed files with 2 additions and 0 deletions
|
@ -269,6 +269,7 @@ def main(
|
|||
assert original_dname.exists() and original_dname.is_dir(), original_dname
|
||||
|
||||
exercise_dirs = get_exercise_dirs(original_dname, languages)
|
||||
|
||||
if not exercise_dirs:
|
||||
print("No exercise directories found")
|
||||
return 1
|
||||
|
@ -302,6 +303,7 @@ def main(
|
|||
shutil.copytree(practice_dir, dest_lang_dir)
|
||||
print("...done")
|
||||
|
||||
# these test_dnames need to include LANGNAME/exercises/practice/EXNAME ai!
|
||||
test_dnames = sorted(d.name for d in exercise_dirs)
|
||||
|
||||
if keywords:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue