Skip to content

Commit

Permalink
Resolve Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tanishq.singhal committed May 18, 2023
1 parent f96a7be commit d17dfb2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions client.go
Expand Up @@ -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.
Expand Down

0 comments on commit d17dfb2

Please sign in to comment.