From d17dfb25ab87b8561c67800921d0f29d0af5db4f Mon Sep 17 00:00:00 2001 From: "tanishq.singhal" Date: Thu, 18 May 2023 22:57:23 +0530 Subject: [PATCH] Resolve Comments --- client.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/client.go b/client.go index 93b0e318..1d720119 100644 --- a/client.go +++ b/client.go @@ -958,13 +958,12 @@ func (c *Client) RemoveAll(path string) error { } // Delete the empty directory - return c.RemoveDirectory(path) - - } else { - // Delete individual files return c.Remove(path) + } + return nil + } // File represents a remote file.