-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Description
Describe the bug
A clear and concise description of what the bug is.
dotnet nuget trust subcommands are not working due to a missing SetAction that was missed during a refactoring PR in #51624
#51624 Pull request changed how trust subcommand where initialized:
New:
sdk/src/Cli/dotnet/Commands/NuGet/NuGetCommandParser.cs
Lines 21 to 24 in ce90906
| foreach (var subcommand in command.Subcommands) | |
| { | |
| subcommand.SetAction(NuGetCommand.Run); | |
| } |
Old: https://github.com/dotnet/sdk/blame/f47e024c8761fa148f741a9c2c983b591af006a0/src/Cli/dotnet/Commands/NuGet/NuGetCommandParser.cs#L190-L194
To Reproduce
Exceptions (if any)
Further technical details
details of dotnet --info