Skip to content

Commit 7c4815e

Browse files
committed
Run make fmt.
1 parent d0b9781 commit 7c4815e

4 files changed

Lines changed: 8 additions & 7 deletions

File tree

Sources/CLI/System/Property/PropertyList.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ extension Application {
7272

7373
extension DefaultsStoreValue {
7474
var asRow: [String] {
75-
[ id, String(describing: type), value?.description.elided(to: 40) ?? "*undefined*", description ]
75+
[id, String(describing: type), value?.description.elided(to: 40) ?? "*undefined*", description]
7676
}
7777
}
7878

@@ -90,4 +90,4 @@ extension String {
9090
let prefixCount = maxCount - ellipsis.count
9191
return self.prefix(prefixCount) + ellipsis
9292
}
93-
}
93+
}

Sources/CLI/System/Property/PropertySet.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ extension Bool {
8585
init?(string: String) {
8686
let lower = string.lowercased()
8787
switch lower {
88-
case "true", "t": self = true
88+
case "true", "t": self = true
8989
case "false", "f": self = false
90-
default: return nil
90+
default: return nil
9191
}
9292
}
9393
}
@@ -102,4 +102,4 @@ extension String {
102102
let pattern = #"^[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?$"#
103103
return self.range(of: pattern, options: .regularExpression) != nil
104104
}
105-
}
105+
}

Sources/CLI/System/SystemProperty.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
//===----------------------------------------------------------------------===//
1616

1717
import ArgumentParser
18-
import ContainerizationError
1918
import ContainerPersistence
19+
import ContainerizationError
2020
import Foundation
2121

2222
extension Application {

Sources/ContainerPersistence/DefaultsStore.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ public enum DefaultsStore {
6969
(.defaultDNSDomain, { Self.getOptional(key: $0) }),
7070
(.defaultRegistryDomain, { Self.get(key: $0) }),
7171
]
72-
return allKeys
72+
return
73+
allKeys
7374
.map { DefaultsStoreValue(id: $0.rawValue, description: $0.summary, value: $1($0) as? (Encodable & CustomStringConvertible), type: $0.type) }
7475
.sorted(by: { $0.id < $1.id })
7576
}

0 commit comments

Comments
 (0)