mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-22 12:37:24 +01:00
Apply code suggestion
This commit is contained in:
@@ -251,10 +251,8 @@ namespace Tgstation.Server.Host.Components.Engine
|
||||
await Task.WhenAll(dirsMoveTasks.Concat(filesMoveTask));
|
||||
}
|
||||
|
||||
var dotnetPath = await DotnetHelper.GetDotnetPath(platformIdentifier, IOManager, cancellationToken);
|
||||
if (dotnetPath == null)
|
||||
throw new JobException(ErrorCode.OpenDreamCantFindDotnet);
|
||||
|
||||
var dotnetPath = (await DotnetHelper.GetDotnetPath(platformIdentifier, IOManager, cancellationToken))
|
||||
?? throw new JobException(ErrorCode.OpenDreamCantFindDotnet);
|
||||
const string DeployDir = "tgs_deploy";
|
||||
int? buildExitCode = null;
|
||||
await HandleExtremelyLongPathOperation(
|
||||
|
||||
Reference in New Issue
Block a user