Remove unused lock file read from tool resolving logic.

This commit is contained in:
dasMulli 2016-11-19 00:25:20 +01:00
parent e6d3cf0ffb
commit 4ee8317834
No known key found for this signature in database
GPG key ID: 18CD0491A7182D5F

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}");