Consider /buildAgent/ to be a none production startup path

pull/4/head
Keivan Beigi 8 years ago
parent 92d706a10d
commit 61579cfb7e

@ -97,6 +97,7 @@ namespace NzbDrone.Common.EnvironmentInfo
var lowerCurrentDir = Directory.GetCurrentDirectory().ToLower();
if (lowerCurrentDir.Contains("teamcity")) return false;
if (lowerCurrentDir.Contains("buildagent")) return false;
if (lowerCurrentDir.Contains("_output")) return false;
return true;

Loading…
Cancel
Save