Fix error/warning message to be shown in Xcode.IssueNavigator
gitea-openium/resgen.swift/pipeline/head There was a failure building this commit
gitea-openium/resgen.swift/pipeline/head There was a failure building this commit
This commit is contained in:
1 parent
5a3d273acc
commit
fc427733ee
27 files changed
+79
-79
No files matched your search
@@ -20,7 +20,7 @@ struct ArchitectureGenerator {
|
||||
let filename = "\(architecture.classname).swift"
|
||||
guard let filePath = architecture.path else {
|
||||
let error = GenerateError.writeFile(filename, "Path of file is not defined.")
|
||||
print(error.localizedDescription)
|
||||
print(error.description)
|
||||
Generate.exit(withError: error)
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ struct ArchitectureGenerator {
|
||||
try architectureContent.write(to: architectureFilePathURL, atomically: false, encoding: .utf8)
|
||||
} catch (let error) {
|
||||
let error = GenerateError.writeFile(filename, error.localizedDescription)
|
||||
print(error.localizedDescription)
|
||||
print(error.description)
|
||||
Generate.exit(withError: error)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user