Fix wrong return in loadProfiles()
This commit is contained in:
parent
8d3c2fb209
commit
cb2917a0a8
|
@ -187,7 +187,7 @@ public class ConnectionService: Codable {
|
||||||
// log.debug("Found \(files.count) provider files: \(files)")
|
// log.debug("Found \(files.count) provider files: \(files)")
|
||||||
for entry in files {
|
for entry in files {
|
||||||
guard let id = ConnectionService.profileId(fromURL: entry) else {
|
guard let id = ConnectionService.profileId(fromURL: entry) else {
|
||||||
return
|
continue
|
||||||
}
|
}
|
||||||
let key = ProfileKey(.provider, id)
|
let key = ProfileKey(.provider, id)
|
||||||
cache[key] = PlaceholderConnectionProfile(key)
|
cache[key] = PlaceholderConnectionProfile(key)
|
||||||
|
|
Loading…
Reference in New Issue