From e7b98318a48c7c050eae356d99c5d3eb2057a550 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Tue, 14 Nov 2017 09:50:59 -0500 Subject: [PATCH] Fix debug-upgrade command. No longer behind DEBUG --- TGS.CommandLine/Program.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/TGS.CommandLine/Program.cs b/TGS.CommandLine/Program.cs index a9157d9512..262c2a4031 100644 --- a/TGS.CommandLine/Program.cs +++ b/TGS.CommandLine/Program.cs @@ -261,11 +261,9 @@ namespace TGS.CommandLine case "quit": case "exit": return (int)Command.ExitCode.Normal; -#if DEBUG case "debug-upgrade": - currentInterface.GetComponent().PrepareForUpdate(); + currentInterface.GetServiceComponent().PrepareForUpdate(); return (int)Command.ExitCode.Normal; -#endif default: //linq voodoo to get quoted strings var formattedCommand = NextCommand.Split('"')