CR feedback part 1
This commit is contained in:
parent
e077b60382
commit
3e4edf1688
2 changed files with 15 additions and 10 deletions
|
@ -117,12 +117,10 @@ namespace Microsoft.DotNet.Cli
|
|||
};
|
||||
|
||||
int exitCode;
|
||||
var arguments = string.Empty;
|
||||
Func<string[], int> builtIn;
|
||||
if (builtIns.TryGetValue(command, out builtIn))
|
||||
{
|
||||
exitCode = builtIn(appArgs.ToArray());
|
||||
arguments = string.Join(" ", appArgs);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -130,7 +128,6 @@ namespace Microsoft.DotNet.Cli
|
|||
.ForwardStdErr()
|
||||
.ForwardStdOut()
|
||||
.Execute();
|
||||
arguments = result.StartInfo.Arguments;
|
||||
exitCode = result.ExitCode;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue