mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
New: Use ASP.NET Core instead of Nancy
(cherry picked from commit 58ddbcd77e17ef95ecfad4b746084ee9326116f3)
This commit is contained in:
@@ -131,22 +131,6 @@ namespace NzbDrone.Integration.Test
|
||||
}
|
||||
}
|
||||
|
||||
protected void IgnoreOnMonoVersions(params string[] version_strings)
|
||||
{
|
||||
if (!PlatformInfo.IsMono)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var current = PlatformInfo.GetVersion();
|
||||
var versions = version_strings.Select(x => new Version(x)).ToList();
|
||||
|
||||
if (versions.Any(x => x.Major == current.Major && x.Minor == current.Minor))
|
||||
{
|
||||
throw new IgnoreException($"Ignored on mono {PlatformInfo.GetVersion()}");
|
||||
}
|
||||
}
|
||||
|
||||
public string GetTempDirectory(params string[] args)
|
||||
{
|
||||
var path = Path.Combine(TempDirectory, Path.Combine(args));
|
||||
|
Reference in New Issue
Block a user