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:
parent
afafe80084
commit
16dcd770f9
4 changed files with 26 additions and 24 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue