Skip to content

Commit

Permalink
[6.1] Handle paginated registry metadata responses (#8219) (#8262)
Browse files Browse the repository at this point in the history
  • Loading branch information
plemarquand authored Jan 31, 2025
1 parent 890e42f commit b8c1edc
Show file tree
Hide file tree
Showing 3 changed files with 421 additions and 105 deletions.
2 changes: 1 addition & 1 deletion Sources/PackageMetadata/PackageMetadata.swift
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ public struct PackageSearchClient {
) { result in
do {
let metadata = try result.get()
let alternateLocations = metadata.alternateLocations ?? []
let alternateLocations = metadata.alternateLocations
return completion(.success(Set(alternateLocations)))
} catch {
return completion(.failure(error))
Expand Down
Loading

0 comments on commit b8c1edc

Please sign in to comment.