Fix build break on Windows.
This commit is contained in:
parent
468a0f38a5
commit
6957303a13
1 changed files with 2 additions and 2 deletions
|
@ -168,7 +168,7 @@ namespace Microsoft.DotNet.Cli.Utils
|
|||
if (to == null)
|
||||
{
|
||||
_stdOut.ForwardTo(writeLine: Reporter.Output.WriteLine);
|
||||
_process.StartInfo.Environment[CommandContext.Variables.AnsiPassThru] = ansiPassThrough.ToString();
|
||||
EnvironmentVariable(CommandContext.Variables.AnsiPassThru, ansiPassThrough.ToString());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -186,7 +186,7 @@ namespace Microsoft.DotNet.Cli.Utils
|
|||
if (to == null)
|
||||
{
|
||||
_stdErr.ForwardTo(writeLine: Reporter.Error.WriteLine);
|
||||
_process.StartInfo.Environment[CommandContext.Variables.AnsiPassThru] = ansiPassThrough.ToString();
|
||||
EnvironmentVariable(CommandContext.Variables.AnsiPassThru, ansiPassThrough.ToString());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue