Skip to content

Commit ad1d7cb

Browse files
committed
output.remove: Pass explicit recursive flag.
Per changes in treeverse/dvc-objects#176
1 parent d25d26f commit ad1d7cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dvc/output.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@ def checkout(
903903
return added, False if added else modified
904904

905905
def remove(self, ignore_remove=False):
906-
self.fs.remove(self.fs_path)
906+
self.fs.remove(self.fs_path, recursive=True)
907907
if self.protocol != Schemes.LOCAL:
908908
return
909909

0 commit comments

Comments
 (0)