fix commandPath ordering for corehost
This commit is contained in:
parent
98b0c03444
commit
873310f8f4
1 changed files with 2 additions and 2 deletions
|
@ -122,6 +122,8 @@ namespace Microsoft.DotNet.Cli.Utils
|
|||
host = CoreHost.LocalHostExePath;
|
||||
}
|
||||
|
||||
arguments.Add(commandPath);
|
||||
|
||||
if (depsFilePath != null)
|
||||
{
|
||||
arguments.Add("--depsfile");
|
||||
|
@ -131,8 +133,6 @@ namespace Microsoft.DotNet.Cli.Utils
|
|||
arguments.Add("--additionalprobingpath");
|
||||
arguments.Add(nugetPackagesRoot);
|
||||
|
||||
arguments.Add(commandPath);
|
||||
|
||||
arguments.AddRange(commandArguments);
|
||||
|
||||
return CreateCommandSpec(host, arguments, commandResolutionStrategy);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue