NPM: Stop using the folder path before the name path (#63851)
Stop using the folder path before the name path
This commit is contained in:
@@ -353,7 +353,7 @@ func (client *Client) DownloadDirectory(ctx context.Context, bucket *storage.Buc
|
||||
}
|
||||
|
||||
for _, file := range files {
|
||||
err = client.downloadFile(ctx, bucket, file.FullPath, filepath.Join(destPath, file.PathTrimmed))
|
||||
err = client.downloadFile(ctx, bucket, file.FullPath, file.PathTrimmed)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user