Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions VCF.Core/Registry/CommandRegistry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -233,12 +233,12 @@ public static CommandResult Handle(ICommandContext ctx, string input)
}

// Get command(s) based on input
CacheResult matchedCommand;
CacheResult matchedCommand = null;
if (assemblyName != null)
{
matchedCommand = _cache.GetCommandFromAssembly(commandInput, assemblyName);
}
else
if (matchedCommand == null || !matchedCommand.IsMatched)
{
matchedCommand = _cache.GetCommand(input);
}
Expand Down
Loading