mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-24 05:27:30 +01:00
Nullify RuntimeInformation
This commit is contained in:
@@ -9,8 +9,6 @@ using Tgstation.Server.Host.Components.Chat;
|
||||
using Tgstation.Server.Host.Components.Deployment;
|
||||
using Tgstation.Server.Host.System;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Tgstation.Server.Host.Components.Interop.Bridge
|
||||
{
|
||||
/// <summary>
|
||||
@@ -93,11 +91,11 @@ namespace Tgstation.Server.Host.Components.Interop.Bridge
|
||||
OriginCommitSha = dmbProvider.CompileJob.RevisionInformation.OriginCommitSha,
|
||||
};
|
||||
|
||||
TestMerges = (IReadOnlyCollection<TestMergeInformation>)dmbProvider
|
||||
TestMerges = (IReadOnlyCollection<TestMergeInformation>?)dmbProvider
|
||||
.CompileJob
|
||||
.RevisionInformation
|
||||
.ActiveTestMerges?
|
||||
.Select(x => x.TestMerge)
|
||||
.ActiveTestMerges
|
||||
?.Select(x => x.TestMerge)
|
||||
.Select(x => new TestMergeInformation(x, Revision))
|
||||
.ToList()
|
||||
?? Array.Empty<TestMergeInformation>();
|
||||
|
||||
Reference in New Issue
Block a user