mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-06-19 13:28:16 +08:00
Removed the additional registration of ICommand
This commit is contained in:

committed by
Patrik Svensson

parent
d34012cad0
commit
49e8a980a7
@ -27,7 +27,6 @@ namespace Spectre.Console.Cli
|
||||
|
||||
if (command.CommandType != null)
|
||||
{
|
||||
registrar?.Register(typeof(ICommand), command.CommandType);
|
||||
registrar?.Register(command.CommandType, command.CommandType);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user