core: remove .net core 5.0 compilation warnings #10433 (#10478)

This commit is contained in:
Diego Heras
2020-12-12 01:19:51 +01:00
committed by GitHub
parent 0e12f35082
commit 443057f156

View File

@@ -10,6 +10,8 @@ using NLog;
namespace Jackett.Server.Services namespace Jackett.Server.Services
{ {
// This code is Windows specific but we are already doing the checks our way
#pragma warning disable CA1416
public class ServiceConfigService : IServiceConfigService public class ServiceConfigService : IServiceConfigService
{ {
private const string NAME = "Jackett"; private const string NAME = "Jackett";
@@ -103,4 +105,5 @@ namespace Jackett.Server.Services
} }
} }
} }
#pragma warning restore CA1416
} }