From d30dc4431215dc514b91d505e3324b9682d79243 Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Tue, 28 Feb 2023 14:13:21 +0100 Subject: [PATCH] [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 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 }