mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-30 16:39:21 +01:00
Fix potential NullReferenceException
This commit is contained in:
@@ -356,9 +356,10 @@ namespace Tgstation.Server.Host.Components.Watchdog
|
||||
var testMerges = dmbProvider
|
||||
.CompileJob
|
||||
.RevisionInformation
|
||||
.ActiveTestMerges
|
||||
.ActiveTestMerges?
|
||||
.Select(x => x.TestMerge)
|
||||
.Select(x => new TestMergeInformation(x, revisionInfo));
|
||||
.Select(x => new TestMergeInformation(x, revisionInfo))
|
||||
?? Enumerable.Empty<TestMergeInformation>();
|
||||
|
||||
return new RuntimeInformation(
|
||||
assemblyInformationProvider,
|
||||
|
||||
Reference in New Issue
Block a user