File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/Cli/dotnet/Commands/Tool/Run Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -17,12 +17,13 @@ namespace Microsoft.DotNet.Cli.Commands.Tool.Run;
17
17
18
18
internal class ToolRunCommand (
19
19
ParseResult result ,
20
- LocalToolsCommandResolver localToolsCommandResolver = null ) : CommandBase ( result )
20
+ LocalToolsCommandResolver localToolsCommandResolver = null ,
21
+ ToolManifestFinder toolManifest = null ) : CommandBase ( result )
21
22
{
22
23
private readonly string _toolCommandName = result . GetValue ( ToolRunCommandParser . CommandNameArgument ) ;
23
24
private readonly IEnumerable < string > _forwardArgument = result . GetValue ( ToolRunCommandParser . CommandArgument ) ;
24
25
25
- private readonly LocalToolsCommandResolver _localToolsCommandResolver = localToolsCommandResolver ?? new LocalToolsCommandResolver ( ) ;
26
+ private readonly LocalToolsCommandResolver _localToolsCommandResolver = localToolsCommandResolver ?? new LocalToolsCommandResolver ( toolManifest ) ;
26
27
public bool _allowRollForward = result . GetValue ( ToolRunCommandParser . RollForwardOption ) ;
27
28
28
29
public override int Execute ( )
You can’t perform that action at this time.
0 commit comments