mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
output.remove: Pass explicit recursive flag.
Per changes in https://github.com/iterative/dvc-objects/pull/176
This commit is contained in:
committed by
Ruslan Kuprieiev
parent
9af6fcad4a
commit
3676f35b7c
+1
-1
@@ -903,7 +903,7 @@ class Output:
|
||||
return added, False if added else modified
|
||||
|
||||
def remove(self, ignore_remove=False):
|
||||
self.fs.remove(self.fs_path)
|
||||
self.fs.remove(self.fs_path, recursive=True)
|
||||
if self.protocol != Schemes.LOCAL:
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user