From f8b7618c955b868cecb7d67331f876314f85ba4c Mon Sep 17 00:00:00 2001 From: Kevin Ransom Date: Tue, 6 Jun 2023 12:00:31 -0700 Subject: [PATCH] fantomas --- .../FSharp.DependencyManager.Utilities.fs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/FSharp.DependencyManager.Nuget/FSharp.DependencyManager.Utilities.fs b/src/FSharp.DependencyManager.Nuget/FSharp.DependencyManager.Utilities.fs index 34206e1b581..a59fbbb468a 100644 --- a/src/FSharp.DependencyManager.Nuget/FSharp.DependencyManager.Utilities.fs +++ b/src/FSharp.DependencyManager.Nuget/FSharp.DependencyManager.Utilities.fs @@ -195,8 +195,9 @@ module internal Utilities = psi.Arguments <- arguments psi.CreateNoWindow <- true psi.EnvironmentVariables.Remove("MSBuildSDKsPath") // Host can sometimes add this, and it can break things + for varname, value in environment do - psi.EnvironmentVariables.Add(varname,value) // Host can sometimes add this, and it can break things + psi.EnvironmentVariables.Add(varname, value) // Host can sometimes add this, and it can break things psi.UseShellExecute <- false @@ -292,7 +293,7 @@ module internal Utilities = let args = "nuget list source --format detailed" let success, stdOut, stdErr = - executeTool dotnetHostPath args scriptDirectory ["DOTNET_CLI_UI_LANGUAGE", "en-us"] timeout + executeTool dotnetHostPath args scriptDirectory [ "DOTNET_CLI_UI_LANGUAGE", "en-us" ] timeout #if DEBUG let diagnostics = [|