We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c65725a commit a85d3eeCopy full SHA for a85d3ee
Sources/Workspace/Workspace.swift
@@ -4147,7 +4147,7 @@ extension Workspace {
4147
completion(.failure(error))
4148
case .success(let identities):
4149
// FIXME: returns first result... need to consider how to address multiple ones
4150
- let identity = identities.first
+ let identity = identities.sorted().first
4151
self.identityLookupCache[url] = (result: .success(identity), expirationTime: .now() + self.cacheTTL)
4152
completion(.success(identity))
4153
}
0 commit comments