[v9.3.x] NPM: Stop using the folder path before the name path (#63860)

NPM: Stop using the folder path before the name path (#63851)

Stop using the folder path before the name path

(cherry picked from commit 177aa254c5)

Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com>
This commit is contained in:
Grot (@grafanabot)
2023-02-28 08:13:21 -05:00
committed by GitHub
co-authored by Dimitris Sotirakis
parent 72999ff49a
commit d30dc44312
+1 -1
View File
@@ -352,7 +352,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
}