More linter warnings fixed, enabled more swiftlint rules, project cleanup
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
This commit is contained in:
1 parent
d06cff2a36
commit
e4ac48bc75
21 files changed
+583
-532
No files matched your search
@@ -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