From d53443e26f9dfd4b3e6a84c7027f19402e9f911e Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Wed, 22 Mar 2023 09:17:37 +0100 Subject: [PATCH] [v9.2.x] NPM: Stop using the folder path before the name path (#65156) NPM: Stop using the folder path before the name path (#63851) Stop using the folder path before the name path (cherry picked from commit 177aa254c563dfe98ffabd2de56330bee960f160) Co-authored-by: Dimitris Sotirakis --- pkg/build/gcloud/storage/gsutil.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/build/gcloud/storage/gsutil.go b/pkg/build/gcloud/storage/gsutil.go index 461fd58c98a..f32189bc84e 100644 --- a/pkg/build/gcloud/storage/gsutil.go +++ b/pkg/build/gcloud/storage/gsutil.go @@ -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 }