output.remove: Pass explicit recursive flag.

Per changes in https://github.com/iterative/dvc-objects/pull/176
This commit is contained in:
David de la Iglesia Castro
2023-01-18 15:17:07 +02:00
committed by Ruslan Kuprieiev
parent 9af6fcad4a
commit 3676f35b7c
+1 -1
View File
@@ -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