diff --git a/src/Tgstation.Server.Host/Components/InstanceFactory.cs b/src/Tgstation.Server.Host/Components/InstanceFactory.cs index a07f86e9c9..9bf0652924 100644 --- a/src/Tgstation.Server.Host/Components/InstanceFactory.cs +++ b/src/Tgstation.Server.Host/Components/InstanceFactory.cs @@ -149,6 +149,7 @@ namespace Tgstation.Server.Host.Components /// readonly SessionConfiguration sessionConfiguration; +#pragma warning disable CA1502 // TODO: Decomplexify /// /// Initializes a new instance of the class. /// @@ -227,6 +228,7 @@ namespace Tgstation.Server.Host.Components generalConfiguration = generalConfigurationOptions?.Value ?? throw new ArgumentNullException(nameof(generalConfigurationOptions)); sessionConfiguration = sessionConfigurationOptions?.Value ?? throw new ArgumentNullException(nameof(sessionConfigurationOptions)); } +#pragma warning restore CA1502 /// #pragma warning disable CA1506 // TODO: Decomplexify