Skip to content

Commit

Permalink
Add test outputs path to --clean
Browse files Browse the repository at this point in the history
  • Loading branch information
avillar committed Jul 24, 2023
1 parent 11431a2 commit 44a0db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ogc/bblocks/entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
print(f"Deleting {old_file}", file=sys.stderr)
old_file.unlink(missing_ok=True)
cwd = Path().resolve()
for old_dir in args.generated_docs_path, args.annotated_path:
for old_dir in args.generated_docs_path, args.annotated_path, args.test_outputs_path:
# Only delete if not current path and not ancestor
old_dir = Path(old_dir).resolve()
if old_dir != cwd and old_dir not in cwd.parents:
Expand Down

0 comments on commit 44a0db4

Please sign in to comment.