Merge pull request #4782 from dasMulli/dead-code-in-tool-resolving
Remove unused lock file read from tool resolving logic.
This commit is contained in:
commit
a57b9e5d01
1 changed files with 0 additions and 4 deletions
|
@ -76,7 +76,6 @@ namespace Microsoft.DotNet.Cli.Utils
|
||||||
tools,
|
tools,
|
||||||
commandResolverArguments.CommandName,
|
commandResolverArguments.CommandName,
|
||||||
commandResolverArguments.CommandArguments.OrEmptyIfNull(),
|
commandResolverArguments.CommandArguments.OrEmptyIfNull(),
|
||||||
project.GetLockFile(),
|
|
||||||
project);
|
project);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -84,7 +83,6 @@ namespace Microsoft.DotNet.Cli.Utils
|
||||||
IEnumerable<SingleProjectInfo> toolsLibraries,
|
IEnumerable<SingleProjectInfo> toolsLibraries,
|
||||||
string commandName,
|
string commandName,
|
||||||
IEnumerable<string> args,
|
IEnumerable<string> args,
|
||||||
LockFile lockFile,
|
|
||||||
IProject project)
|
IProject project)
|
||||||
{
|
{
|
||||||
Reporter.Verbose.WriteLine($"projecttoolscommandresolver: resolving commandspec from {toolsLibraries.Count()} Tool Libraries.");
|
Reporter.Verbose.WriteLine($"projecttoolscommandresolver: resolving commandspec from {toolsLibraries.Count()} Tool Libraries.");
|
||||||
|
@ -95,7 +93,6 @@ namespace Microsoft.DotNet.Cli.Utils
|
||||||
toolLibrary,
|
toolLibrary,
|
||||||
commandName,
|
commandName,
|
||||||
args,
|
args,
|
||||||
lockFile,
|
|
||||||
project);
|
project);
|
||||||
|
|
||||||
if (commandSpec != null)
|
if (commandSpec != null)
|
||||||
|
@ -113,7 +110,6 @@ namespace Microsoft.DotNet.Cli.Utils
|
||||||
SingleProjectInfo toolLibraryRange,
|
SingleProjectInfo toolLibraryRange,
|
||||||
string commandName,
|
string commandName,
|
||||||
IEnumerable<string> args,
|
IEnumerable<string> args,
|
||||||
LockFile lockFile,
|
|
||||||
IProject project)
|
IProject project)
|
||||||
{
|
{
|
||||||
Reporter.Verbose.WriteLine($"projecttoolscommandresolver: Attempting to resolve command spec from tool {toolLibraryRange.Name}");
|
Reporter.Verbose.WriteLine($"projecttoolscommandresolver: Attempting to resolve command spec from tool {toolLibraryRange.Name}");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue