mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
Fix Debug output
DebugHelper is useless, bacuase the return statement is always executed before the actual code.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
@@ -74,7 +75,7 @@ namespace Wox.Plugin.Program
|
||||
{
|
||||
programs = ProgramCacheStorage.Instance.Programs;
|
||||
}
|
||||
DebugHelper.WriteLine(string.Format("Preload {0} programs from cache", programs.Count));
|
||||
Debug.WriteLine(string.Format("Preload {0} programs from cache", programs.Count));
|
||||
using (new Timeit("Program Index"))
|
||||
{
|
||||
IndexPrograms();
|
||||
|
||||
Reference in New Issue
Block a user