chore: Code cleanup

pull/136/head
Robert Dailey 3 years ago
parent 7a25f79fa8
commit 87843b4ee1

@ -1,5 +1,6 @@
// [CA1506] '<Main>$' is coupled with '54' different types from '34' different namespaces. Rewrite or refactor the code
// to decrease its class coupling below '41'.
#pragma warning disable CA1506
using System.IO.Abstractions;

@ -209,7 +209,8 @@ public class ReleaseProfileUpdater : IReleaseProfileUpdater
switch (capabilities.SupportsCustomFormats)
{
case true when config.ReleaseProfiles.Any():
throw new VersionException("Sonarr v4 does not support Release Profiles. Please use Sonarr v3 instead.");
throw new VersionException(
"Sonarr v4 does not support Release Profiles. Please use Sonarr v3 instead.");
case false when config.CustomFormats.Any():
throw new VersionException("Sonarr v3 does not support Custom Formats. Please use Sonarr v4 instead.");

Loading…
Cancel
Save