Skip to content

Commit 17f6d97

Browse files
authored
Use default monitoringHome path if env var is empty (DataDog#3105)
* Use default monitoringHome path if env var is empty * Dummy commit to try and get GitHub build working * Revert "Dummy commit to try and get GitHub build working" This reverts commit c90e9ae.
1 parent 5e57613 commit 17f6d97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tracer/test/Datadog.Trace.TestHelpers/EnvironmentHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public static string GetMonitoringHomePath()
9393
{
9494
var monitoringHomeDirectoryEnvVar = "MonitoringHomeDirectory";
9595
var monitoringHome = Environment.GetEnvironmentVariable(monitoringHomeDirectoryEnvVar);
96-
if (!string.IsNullOrEmpty(monitoringHome))
96+
if (string.IsNullOrEmpty(monitoringHome))
9797
{
9898
// default
9999
monitoringHome = Path.Combine(

0 commit comments

Comments
 (0)