-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
install_manager.remove() should ensure we are inside the library folder before calling rmtree().
openscad-library-manager/olman-client/olman_client/install_manager.py
Lines 46 to 52 in 4c72d39
| def remove(name: str, missing_ok: bool = True): | |
| if local_lib := local_index.get(name, default=None): | |
| rmtree(local_lib.location) | |
| local_index.remove(name) | |
| elif not missing_ok: | |
| raise Exception(f"Library {name} not found.") |
Metadata
Metadata
Assignees
Labels
No labels