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

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-03-02 14:28:42 -06:00
committed by Kevin Minehart
co-authored by Dimitris Sotirakis
parent 285824f717
commit cf0a135595
+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
}