Skip to content

Commit 054aa3a

Browse files
authored
Recursively add SetAction to dotnet nuget subcommands (#52270)
1 parent 583915c commit 054aa3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Cli/dotnet/Commands/NuGet/NuGetCommandParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ private static Command SetAction(Command command)
2020

2121
foreach (var subcommand in command.Subcommands)
2222
{
23-
subcommand.SetAction(NuGetCommand.Run);
23+
SetAction(subcommand);
2424
}
2525

2626
return command;

0 commit comments

Comments
 (0)