1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2025-02-25 23:43:25 +00:00

Consider /buildAgent/ to be a none production startup path

This commit is contained in:
Keivan Beigi 2017-01-04 12:07:02 -08:00
parent 92d706a10d
commit 61579cfb7e

View file

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