Format
This commit is contained in:
parent
dc00d87a32
commit
d7d34812cf
1 changed files with 4 additions and 1 deletions
|
@ -33,7 +33,10 @@ private struct ImporterOption: CaseIterable, ExpressibleByArgument, CustomString
|
|||
}
|
||||
|
||||
init?(argument: String) {
|
||||
guard let found = Self.allCases.first(where: { $0.description.caseInsensitiveCompare(argument) == .orderedSame }) else {
|
||||
guard
|
||||
let found = Self.allCases
|
||||
.first(where: { $0.description.caseInsensitiveCompare(argument) == .orderedSame })
|
||||
else {
|
||||
return nil
|
||||
}
|
||||
self = found
|
||||
|
|
Loading…
Add table
Reference in a new issue