Skip to content

Commit

Permalink
Remove redundant check
Browse files Browse the repository at this point in the history
  • Loading branch information
bouwkast committed Oct 11, 2024
1 parent 436bd00 commit f4e4f36
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,6 @@ public bool ShouldListenTo(string sourceName, string? version)
}
}

var toDisable = Tracer.Instance.Settings.DisabledActivitySources;
if (toDisable is null || toDisable.Length == 0)
{
return false;
}

// sources were specified to be disabled, but this sourceName didn't match any of them
return false; // sourceName will _not_ be disabled
}
Expand Down

0 comments on commit f4e4f36

Please sign in to comment.