mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Removed conflicting criteria from IsProduction check.
This commit is contained in:
@@ -121,7 +121,6 @@ namespace NzbDrone.Common.EnvironmentInfo
|
|||||||
string lowerCurrentDir = Directory.GetCurrentDirectory().ToLower();
|
string lowerCurrentDir = Directory.GetCurrentDirectory().ToLower();
|
||||||
if (lowerCurrentDir.Contains("teamcity")) return false;
|
if (lowerCurrentDir.Contains("teamcity")) return false;
|
||||||
if (lowerCurrentDir.Contains("_output")) return false;
|
if (lowerCurrentDir.Contains("_output")) return false;
|
||||||
if (lowerCurrentDir.StartsWith("/run/")) return false;
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user