From cf0a1355955cc2d1d2365efc47d3f91a0ddc4158 Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Thu, 2 Mar 2023 15:28:45 -0500 Subject: [PATCH] [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 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 }