Fix IRC throwing errors for non-GitHub update messages

This commit is contained in:
Jordan Dominion
2025-02-17 17:45:55 -05:00
parent 145ec3939c
commit d806dc7137
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));