mirror of
https://github.com/Readarr/Readarr.git
synced 2026-09-21 18:55:12 -04:00
Consider /buildAgent/ to be a none production startup path
This commit is contained in:
1 parent
92d706a10d
commit
61579cfb7e
1 file changed
+1
@@ -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