Skip to content

Commit

Permalink
Use default monitoringHome path if env var is empty (#3105)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
bouwkast authored Aug 22, 2022
1 parent 5e57613 commit 17f6d97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tracer/test/Datadog.Trace.TestHelpers/EnvironmentHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public static string GetMonitoringHomePath()
{
var monitoringHomeDirectoryEnvVar = "MonitoringHomeDirectory";
var monitoringHome = Environment.GetEnvironmentVariable(monitoringHomeDirectoryEnvVar);
if (!string.IsNullOrEmpty(monitoringHome))
if (string.IsNullOrEmpty(monitoringHome))
{
// default
monitoringHome = Path.Combine(
Expand Down

0 comments on commit 17f6d97

Please sign in to comment.