Skip to content

Commit

Permalink
πŸ› Fix object download
Browse files Browse the repository at this point in the history
  • Loading branch information
olejnjak committed Mar 21, 2022
1 parent eb3f052 commit 7ad6fae
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Sources/GCP_Remote/Services/GCPDownloader.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,11 @@ public struct GCPDownloader: GCPDownloading {
readOnly: false
)

await items.asyncForEach { remotePath, localPath in
await items.asyncForEach { object, localPath in
let name = localPath.basenameWithoutExt

logger.info("Downloading dependency", name)

let object = remotePath.addingPercentEncoding(withAllowedCharacters: .urlHostAllowed)!

do {
let data = try await gcpAPI.downloadObject(
object,
Expand Down

0 comments on commit 7ad6fae

Please sign in to comment.