Generation de l'architecture compat Swift 6 avec des final class Sendable
Some checks are pending
gitea-openium/resgen.swift/pipeline/head Build started...
gitea-openium/resgen.swift/pipeline/pr-master Build started...

This commit is contained in:
2025-04-30 10:21:03 +02:00
parent 57cedd37bb
commit abb259951c
3 changed files with 3 additions and 5 deletions

View File

@@ -137,9 +137,7 @@ class StringsFileGenerator {
let json = try encoder.encode(rootObject)
if let jsonString = String(data: json, encoding: .utf8) {
return jsonString
}
return String(decoding: json, as: UTF8.self)
} catch {
debugPrint("Failed to encode: \(error)")