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:
Dimitris Sotirakis 2023-02-28 13:57:29 +01:00 committed by GitHub
parent a81a665f43
commit 177aa254c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}