Revert "Add something swiftlint can complain about"

This reverts commit b7a93fc1de.
This commit is contained in:
Sven Weidauer 2020-12-30 14:37:46 +01:00
parent b7a93fc1de
commit a23ccc8284

View file

@ -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`)
} }
} }
} }