From fc9e110e9ccdc89b639c014f06007e1e5e05e520 Mon Sep 17 00:00:00 2001 From: Masayuki Ono Date: Sat, 20 May 2017 20:48:09 +0900 Subject: [PATCH] Swiftlint --- .swiftlint.yml | 2 +- Sources/LicensePlist/main.swift | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.swiftlint.yml b/.swiftlint.yml index 49b50f7d..22a4b8e0 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -8,4 +8,4 @@ included: - Sources - Tests -line_length: 140 +line_length: 150 diff --git a/Sources/LicensePlist/main.swift b/Sources/LicensePlist/main.swift index 512cb3e1..f6784ace 100644 --- a/Sources/LicensePlist/main.swift +++ b/Sources/LicensePlist/main.swift @@ -17,14 +17,13 @@ let main = command(Option("cartfile-path", Consts.cartfileName), Option("config-path", Consts.configPath), Flag("force"), Flag("add-version-numbers"), - Flag("suppress-opening-directory")) { - cartfile, podsPath, output, gitHubToken, configPath, force, version, suppressOpeningDirectory in + Flag("suppress-opening-directory")) { cartfile, podsPath, output, gitHubToken, configPath, force, version, suppressOpen in Logger.configure() var config = loadConfig(configPath: URL(fileURLWithPath: configPath)) config.force = force config.addVersionNumbers = version - config.suppressOpeningDirectory = suppressOpeningDirectory + config.suppressOpeningDirectory = suppressOpen let options = Options(outputPath: URL(fileURLWithPath: output), cartfilePath: URL(fileURLWithPath: cartfile), podsPath: URL(fileURLWithPath: podsPath),