Removed conflicting criteria from IsProduction check.

pull/2/head
Taloth Saldono 8 years ago
parent a72b856fb8
commit a0b4d3a38d

@ -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;
} }

Loading…
Cancel
Save