From dc8a60b7c0523b22d44da25a304c5be3d2401c22 Mon Sep 17 00:00:00 2001 From: Timofey Solomko Date: Sat, 17 Feb 2018 12:55:31 +0300 Subject: [PATCH] Swiftlinted --- Sources/swcomp/BZip2Command.swift | 3 ++- .../swcomp/Extensions/GzipHeader+CustomStringConvertible.swift | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Sources/swcomp/BZip2Command.swift b/Sources/swcomp/BZip2Command.swift index 0976663e..d0812d67 100644 --- a/Sources/swcomp/BZip2Command.swift +++ b/Sources/swcomp/BZip2Command.swift @@ -27,7 +27,8 @@ class BZip2Command: Command { var optionGroups: [OptionGroup] { let actions = OptionGroup(options: [compress, decompress], restriction: .exactlyOne) - let blockSizes = OptionGroup(options: [one, two, three, four, five, six, seven, eight, nine], restriction: .atMostOne) + let blockSizes = OptionGroup(options: [one, two, three, four, five, six, seven, eight, nine], + restriction: .atMostOne) return [actions, blockSizes] } diff --git a/Sources/swcomp/Extensions/GzipHeader+CustomStringConvertible.swift b/Sources/swcomp/Extensions/GzipHeader+CustomStringConvertible.swift index 166cc6cf..c32f2968 100644 --- a/Sources/swcomp/Extensions/GzipHeader+CustomStringConvertible.swift +++ b/Sources/swcomp/Extensions/GzipHeader+CustomStringConvertible.swift @@ -13,7 +13,7 @@ extension GzipHeader: CustomStringConvertible { File name: \(self.fileName ?? "") File system type: \(self.osType) Compression method: \(self.compressionMethod) - + """ if let mtime = self.modificationTime { output += "Modification time: \(mtime)\n"