mirror of
https://github.com/Readarr/Readarr.git
synced 2026-02-02 10:11:29 -05:00
Consider /buildAgent/ to be a none production startup path
This commit is contained in:
@@ -97,6 +97,7 @@ private static bool InternalIsProduction()
|
||||
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user