Make CliFolderPathCalculator
a static class.
The `CliFolderPathCalculator` class implements no interface and has no instance fields. This commit therefore makes it a static class.
This commit is contained in:
parent
8f8770be8a
commit
3e962bc131
19 changed files with 40 additions and 75 deletions
|
@ -14,7 +14,7 @@ namespace Microsoft.DotNet.Tools.MSBuild
|
|||
public sealed class MSBuildLogger : INodeLogger
|
||||
{
|
||||
private readonly IFirstTimeUseNoticeSentinel _sentinel =
|
||||
new FirstTimeUseNoticeSentinel(new CliFolderPathCalculator());
|
||||
new FirstTimeUseNoticeSentinel();
|
||||
private readonly ITelemetry _telemetry;
|
||||
private const string NewEventName = "msbuild";
|
||||
private const string TargetFrameworkTelemetryEventName = "targetframeworkeval";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue