Merge pull request #2136 from tgstation/FixBadArgNull

Fix IRC throwing errors for non-GitHub update messages
This commit is contained in:
Jordan Dominion
2025-02-17 20:36:46 -05:00
committed by GitHub
2 changed files with 0 additions and 4 deletions
@@ -227,8 +227,6 @@ namespace Tgstation.Server.Host.Components.Chat.Providers
{
ArgumentNullException.ThrowIfNull(revisionInformation);
ArgumentNullException.ThrowIfNull(engineVersion);
ArgumentNullException.ThrowIfNull(gitHubOwner);
ArgumentNullException.ThrowIfNull(gitHubRepo);
var commitInsert = revisionInformation.CommitSha![..7];
string remoteCommitInsert;
@@ -115,8 +115,6 @@ namespace Tgstation.Server.Tests.Live
{
ArgumentNullException.ThrowIfNull(revisionInformation);
ArgumentNullException.ThrowIfNull(engineVersion);
ArgumentNullException.ThrowIfNull(gitHubOwner);
ArgumentNullException.ThrowIfNull(gitHubRepo);
Assert.IsTrue(knownChannels.ContainsKey(channelId));