mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-07-16 18:43:43 +01:00
Merge pull request #2136 from tgstation/FixBadArgNull
Fix IRC throwing errors for non-GitHub update messages
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user