Address PR feedback

- Use the right path separator char for unix.
- Contruct some of the args to crossgen outside the loop.
- Add the null check inside Command.Environment.
This commit is contained in:
Sridhar Periyasamy 2016-04-15 10:31:17 -07:00
parent afafe80084
commit 16dcd770f9
4 changed files with 26 additions and 24 deletions

View file

@ -36,11 +36,6 @@ namespace Microsoft.DotNet.Cli.Build.Framework
cmd.CaptureStdErr().CaptureStdOut();
}
if (env == null)
{
env = new Dictionary<string, string>();
}
var result = cmd.Environment(env).Execute();
result.EnsureSuccessful();