Custom environment should be set if present (#1292)

This commit is contained in:
Elliot Jordan
2025-11-26 09:17:10 -08:00
committed by GitHub
parent ad77ae8813
commit 4f4ae55c39

View File

@@ -211,7 +211,7 @@ func runCLI(_ tool: String,
let task = Process()
task.executableURL = URL(fileURLWithPath: tool)
task.arguments = arguments
if !environment.isEmpty == false {
if !environment.isEmpty {
task.environment = environment
}