From 3676f35b7ce955596e98d18c0f7ac4ef0e2cd170 Mon Sep 17 00:00:00 2001 From: David de la Iglesia Castro Date: Mon, 16 Jan 2023 18:20:25 +0100 Subject: [PATCH] output.remove: Pass explicit `recursive` flag. Per changes in https://github.com/iterative/dvc-objects/pull/176 --- dvc/output.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc/output.py b/dvc/output.py index d97a2e9bd..263b2ba61 100644 --- a/dvc/output.py +++ b/dvc/output.py @@ -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