From 7f4b8ba0e5987d9f7fb289a369c7d1d568478b12 Mon Sep 17 00:00:00 2001 From: Cj <161484149+CJ-SPT@users.noreply.github.com> Date: Fri, 10 Jan 2025 04:20:32 -0500 Subject: [PATCH] Move WAIT_FOR_DEBUGGER to the top in AutoMatcher.cs --- ReCodeItCLI/Commands/AutoMatcher.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ReCodeItCLI/Commands/AutoMatcher.cs b/ReCodeItCLI/Commands/AutoMatcher.cs index e192e95..50468cf 100644 --- a/ReCodeItCLI/Commands/AutoMatcher.cs +++ b/ReCodeItCLI/Commands/AutoMatcher.cs @@ -29,10 +29,6 @@ public class AutoMatchCommand : ICommand public ValueTask ExecuteAsync(IConsole console) { - Logger.LogSync("Finding match..."); - - var remaps = new List(); - #if WAIT_FOR_DEBUGGER Logger.LogSync("Waiting for debugger..."); while (!Debugger.IsAttached) @@ -41,6 +37,10 @@ public class AutoMatchCommand : ICommand } #endif + Logger.LogSync("Finding match..."); + + var remaps = new List(); + if (!string.IsNullOrEmpty(MappingsPath)) { Logger.LogSync("Loaded mapping file", ConsoleColor.Green);