mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
Allow plugins return null
This commit is contained in:
@@ -27,7 +27,7 @@ namespace Wox.Commands
|
||||
{
|
||||
try
|
||||
{
|
||||
List<Result> r = thirdPlugin.Plugin.Query(q);
|
||||
List<Result> r = thirdPlugin.Plugin.Query(q) ?? new List<Result>();
|
||||
r.ForEach(o =>
|
||||
{
|
||||
o.PluginDirectory = thirdPlugin.Metadata.PluginDirecotry;
|
||||
|
||||
Reference in New Issue
Block a user