feat(RES-34): Fix plist font filename (#14)
All checks were successful
gitea-openium/resgen.swift/pipeline/head This commit looks good
All checks were successful
gitea-openium/resgen.swift/pipeline/head This commit looks good
Reviewed-on: #14
This commit is contained in:
@ -7,10 +7,13 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
class FontFileParser {
|
||||
enum FontFileParser {
|
||||
|
||||
static func parse(_ inputFile: String) -> [String] {
|
||||
let inputFileContent = try! String(contentsOfFile: inputFile,
|
||||
encoding: .utf8)
|
||||
let inputFileContent = try! String( // swiftlint:disable:this force_try
|
||||
contentsOfFile: inputFile,
|
||||
encoding: .utf8
|
||||
)
|
||||
return inputFileContent.components(separatedBy: CharacterSet.newlines)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user