mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-25 22:17:51 +01:00
Nullify IServerUpdateExecutor
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Tgstation.Server.Host.Core
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -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...");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user