Remove Shell invocation as many as possible (high cost in term of speed of execution)
gitea-openium/resgen.swift/pipeline/head There was a failure building this commit

This commit is contained in:
t.schmitt committed 2022-09-02 15:57:20 +02:00
1 parent 8723019732
commit e3258453bb
15 files changed
+95 -119

No files matched your search

@@ -23,7 +23,7 @@ class ColorFileParser {
.replacingOccurrences(of: "=", with: "") // Keep compat with current file format
guard colorLineCleanedUp.hasPrefix("#") == false, colorLineCleanedUp.isEmpty == false else {
debugPrint("[\(Colors.toolName)] ⚠️ BadFormat or empty line (line number: \(lineNumber + 1)). Skip this line")
// debugPrint("[\(Colors.toolName)] ⚠️ BadFormat or empty line (line number: \(lineNumber + 1)). Skip this line")
return nil
}