mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Only attempt to remove path if it exists
This commit is contained in:
@@ -120,7 +120,7 @@ def remove_all(paths):
|
||||
for path in paths:
|
||||
if path.is_dir():
|
||||
drop_dir(path)
|
||||
else:
|
||||
elif path.exists():
|
||||
print(f"Removing {path}")
|
||||
path.unlink()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user