From de14b76b4d99f74d52b6e404b2ab37394fa5b9dc Mon Sep 17 00:00:00 2001 From: Eric Kuck Date: Wed, 12 Dec 2018 11:40:57 -0600 Subject: Added swiftlint and fixed all errors (and a bunch, but not all, warnings) Signed-off-by: Eric Kuck --- WireGuard/WireGuard/ZipArchive/ZipExporter.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'WireGuard/WireGuard/ZipArchive/ZipExporter.swift') diff --git a/WireGuard/WireGuard/ZipArchive/ZipExporter.swift b/WireGuard/WireGuard/ZipArchive/ZipExporter.swift index 4f57613..f875e1b 100644 --- a/WireGuard/WireGuard/ZipArchive/ZipExporter.swift +++ b/WireGuard/WireGuard/ZipArchive/ZipExporter.swift @@ -16,7 +16,7 @@ enum ZipExporterError: WireGuardAppError { class ZipExporter { static func exportConfigFiles(tunnelConfigurations: [TunnelConfiguration], to url: URL, - completion: @escaping (WireGuardAppError?) -> Void) { + completion: @escaping (WireGuardAppError?) -> Void) { guard (!tunnelConfigurations.isEmpty) else { completion(ZipExporterError.noTunnelsToExport) -- cgit v1.2.3-59-g8ed1b