mirror of
https://github.com/munki/munki.git
synced 2026-04-24 22:08:33 -05: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