Fix build break on Windows.

This commit is contained in:
Austin Wise 2016-02-12 15:58:35 -08:00
parent 468a0f38a5
commit 6957303a13

View file

@ -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
{