Revert "Add something swiftlint can complain about"
This reverts commit b7a93fc1de
.
This commit is contained in:
parent
b7a93fc1de
commit
a23ccc8284
1 changed files with 2 additions and 2 deletions
|
@ -76,8 +76,8 @@ public final class MakeColors: ParsableCommand, Context {
|
||||||
if let output = output {
|
if let output = output {
|
||||||
return URL(fileURLWithPath: output)
|
return URL(fileURLWithPath: output)
|
||||||
} else {
|
} else {
|
||||||
let b = URL(fileURLWithPath: input).deletingPathExtension().lastPathComponent
|
let basename = URL(fileURLWithPath: input).deletingPathExtension().lastPathComponent
|
||||||
return URL(fileURLWithPath: b).appendingPathExtension(`extension`)
|
return URL(fileURLWithPath: basename).appendingPathExtension(`extension`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue