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:
Livar 2016-11-18 19:30:50 -08:00 committed by GitHub
commit a57b9e5d01

View file

@ -76,7 +76,6 @@ namespace Microsoft.DotNet.Cli.Utils
tools,
commandResolverArguments.CommandName,
commandResolverArguments.CommandArguments.OrEmptyIfNull(),
project.GetLockFile(),
project);
}
@ -84,7 +83,6 @@ namespace Microsoft.DotNet.Cli.Utils
IEnumerable<SingleProjectInfo> toolsLibraries,
string commandName,
IEnumerable<string> args,
LockFile lockFile,
IProject project)
{
Reporter.Verbose.WriteLine($"projecttoolscommandresolver: resolving commandspec from {toolsLibraries.Count()} Tool Libraries.");
@ -95,7 +93,6 @@ namespace Microsoft.DotNet.Cli.Utils
toolLibrary,
commandName,
args,
lockFile,
project);
if (commandSpec != null)
@ -113,7 +110,6 @@ namespace Microsoft.DotNet.Cli.Utils
SingleProjectInfo toolLibraryRange,
string commandName,
IEnumerable<string> args,
LockFile lockFile,
IProject project)
{
Reporter.Verbose.WriteLine($"projecttoolscommandresolver: Attempting to resolve command spec from tool {toolLibraryRange.Name}");