mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-23 04:57:17 +01:00
Nullify IEngineInstallation
This commit is contained in:
@@ -108,7 +108,7 @@ namespace Tgstation.Server.Host.Components.Engine
|
||||
IDmbProvider dmbProvider,
|
||||
IReadOnlyDictionary<string, string> parameters,
|
||||
DreamDaemonLaunchParameters launchParameters,
|
||||
string logFilePath)
|
||||
string? logFilePath)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(dmbProvider);
|
||||
ArgumentNullException.ThrowIfNull(parameters);
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace Tgstation.Server.Host.Components.Engine
|
||||
IDmbProvider dmbProvider,
|
||||
IReadOnlyDictionary<string, string> parameters,
|
||||
DreamDaemonLaunchParameters launchParameters,
|
||||
string logFilePath)
|
||||
string? logFilePath)
|
||||
=> Instance.FormatServerArguments(
|
||||
dmbProvider,
|
||||
parameters,
|
||||
|
||||
@@ -64,7 +64,7 @@ namespace Tgstation.Server.Host.Components.Engine
|
||||
IDmbProvider dmbProvider,
|
||||
IReadOnlyDictionary<string, string> parameters,
|
||||
DreamDaemonLaunchParameters launchParameters,
|
||||
string logFilePath);
|
||||
string? logFilePath);
|
||||
|
||||
/// <inheritdoc />
|
||||
public virtual async ValueTask StopServerProcess(ILogger logger, IProcess process, string accessIdentifier, ushort port, CancellationToken cancellationToken)
|
||||
|
||||
@@ -9,8 +9,6 @@ using Tgstation.Server.Api.Models.Internal;
|
||||
using Tgstation.Server.Host.Components.Deployment;
|
||||
using Tgstation.Server.Host.System;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Tgstation.Server.Host.Components.Engine
|
||||
{
|
||||
/// <summary>
|
||||
@@ -65,7 +63,7 @@ namespace Tgstation.Server.Host.Components.Engine
|
||||
IDmbProvider dmbProvider,
|
||||
IReadOnlyDictionary<string, string> parameters,
|
||||
DreamDaemonLaunchParameters launchParameters,
|
||||
string logFilePath);
|
||||
string? logFilePath);
|
||||
|
||||
/// <summary>
|
||||
/// Return the command line arguments for compiling a given <paramref name="dmePath"/> if compilation is necessary.
|
||||
|
||||
Reference in New Issue
Block a user