mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 04:07:40 +02:00
Fix Debug output
DebugHelper is useless, bacuase the return statement is always executed before the actual code.
This commit is contained in:
@@ -491,11 +491,11 @@ namespace Wox
|
||||
{
|
||||
if (!string.IsNullOrEmpty(query) && PluginManager.IsInstantQuery(query))
|
||||
{
|
||||
DebugHelper.WriteLine("execute query without delay");
|
||||
Debug.WriteLine("execute query without delay");
|
||||
return 0;
|
||||
}
|
||||
|
||||
DebugHelper.WriteLine("execute query with 200ms delay");
|
||||
Debug.WriteLine("execute query with 200ms delay");
|
||||
return 200;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user