From 0766bfab2448d46afb2d7af232679cb255e27e1f Mon Sep 17 00:00:00 2001 From: Mauro Romito Date: Mon, 8 May 2023 17:32:28 +0200 Subject: [PATCH] removed clean process.environment --- Tools/Sources/Utilities.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/Tools/Sources/Utilities.swift b/Tools/Sources/Utilities.swift index 052b6a18a..e0c0602b1 100644 --- a/Tools/Sources/Utilities.swift +++ b/Tools/Sources/Utilities.swift @@ -19,7 +19,6 @@ enum Utilities { @discardableResult static func zsh(_ command: String, workingDirectoryURL: URL = projectDirectoryURL) throws -> String? { let process = Process() - process.environment = [:] process.executableURL = URL(fileURLWithPath: "/bin/zsh") process.arguments = ["-cu", command] process.currentDirectoryURL = workingDirectoryURL