Fix wrong return in loadProfiles()

This commit is contained in:
Davide De Rosa 2019-04-04 11:39:30 +02:00
parent 8d3c2fb209
commit cb2917a0a8
1 changed files with 1 additions and 1 deletions

View File

@ -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)