mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-23 21:16:52 +01:00
Nullify ResultExtensions
This commit is contained in:
@@ -7,8 +7,6 @@ using Remora.Discord.API.Objects;
|
||||
using Remora.Rest.Results;
|
||||
using Remora.Results;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Tgstation.Server.Host.Extensions
|
||||
{
|
||||
/// <summary>
|
||||
@@ -118,7 +116,7 @@ namespace Tgstation.Server.Host.Extensions
|
||||
/// </summary>
|
||||
/// <param name="errorDetails">The <see cref="IEnumerable{T}"/> of <see cref="IErrorDetails"/>.</param>
|
||||
/// <param name="stringBuilder">The <see cref="StringBuilder"/> to mutate.</param>
|
||||
static void FormatErrorDetails(IEnumerable<IErrorDetails> errorDetails, StringBuilder stringBuilder)
|
||||
static void FormatErrorDetails(IEnumerable<IErrorDetails>? errorDetails, StringBuilder stringBuilder)
|
||||
{
|
||||
if (errorDetails == null)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user