More linter warnings fixed, enabled more swiftlint rules, project cleanup
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
This commit is contained in:
@@ -17,7 +17,7 @@ extension NETunnelProviderProtocol {
|
||||
"tunnelConfigurationVersion": 1
|
||||
]
|
||||
|
||||
let endpoints = tunnelConfiguration.peers.compactMap({$0.endpoint})
|
||||
let endpoints = tunnelConfiguration.peers.compactMap {$0.endpoint}
|
||||
if endpoints.count == 1 {
|
||||
serverAddress = endpoints.first!.stringRepresentation()
|
||||
} else if endpoints.isEmpty {
|
||||
|
||||
Reference in New Issue
Block a user