Skip to content

Commit

Permalink
Satisfy an IDE message
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberboss committed Nov 28, 2024
1 parent b65f52c commit bdbbbe9
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,8 @@ public override async ValueTask<IEngineInstallation> CreateInstallation(EngineVe
CheckVersionValidity(version);
GetExecutablePaths(path, out var serverExePath, out var compilerExePath);

var dotnetPath = await DotnetHelper.GetDotnetPath(platformIdentifier, IOManager, cancellationToken);
if (dotnetPath == null)
throw new JobException("Failed to find dotnet path!");

var dotnetPath = (await DotnetHelper.GetDotnetPath(platformIdentifier, IOManager, cancellationToken))
?? throw new JobException("Failed to find dotnet path!");
return new OpenDreamInstallation(
new ResolvingIOManager(IOManager, path),
asyncDelayer,
Expand Down

0 comments on commit bdbbbe9

Please sign in to comment.