mirror of
https://github.com/munki/munki.git
synced 2025-12-16 20:14:48 -06:00
Custom environment should be set if present (#1292)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user