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 1b51b4c commit 8f3fb1eCopy full SHA for 8f3fb1e
Sources/Workspace/Workspace.swift
@@ -4139,7 +4139,7 @@ extension Workspace {
4139
completion(.failure(error))
4140
case .success(let identities):
4141
// FIXME: returns first result... need to consider how to address multiple ones
4142
- let identity = identities.first
+ let identity = identities.sorted().first
4143
self.identityLookupCache[url] = (result: .success(identity), expirationTime: .now() + self.cacheTTL)
4144
completion(.success(identity))
4145
}
0 commit comments