Nullify IServerUpdateExecutor

This commit is contained in:
Jordan Dominion
2023-11-23 18:51:54 -05:00
parent 6092baf408
commit 2a1f3179f5
2 changed files with 3 additions and 2 deletions
@@ -1,8 +1,6 @@
using System.Threading;
using System.Threading.Tasks;
#nullable disable
namespace Tgstation.Server.Host.Core
{
/// <summary>
+3
View File
@@ -176,6 +176,9 @@ namespace Tgstation.Server.Host
CheckSanity(true);
if (updatePath == null)
throw new InvalidOperationException("Tried to start update when server was initialized without an updatePath set!");
var logger = this.logger!;
logger.LogTrace("Begin ApplyUpdate...");