File tree 2 files changed +2
-2
lines changed
Build/BackEnd/BuildManager
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1143,7 +1143,7 @@ private void EndBuildTelemetry()
1143
1143
. StartActivity ( "Build" ) ?
1144
1144
. WithTags ( _buildTelemetry )
1145
1145
. WithTags ( _telemetryConsumingLogger ? . WorkerNodeTelemetryData . AsActivityDataHolder (
1146
- includeTasksDetails : ! Traits . ExcludeTasksDetailsFromTelemetry
1146
+ includeTasksDetails : ! Traits . ExcludeTasksDetailsFromTelemetry ,
1147
1147
includeTargetDetails : false
1148
1148
) )
1149
1149
. WithStartTime ( _buildTelemetry ! . InnerStartAt )
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ public Traits()
144
144
public bool ExcludeTasksDetailsFromTelemetry = IsEnvVarOneOrTrue ( "MSBUILDTELEMETRYEXCLUDETASKSDETAILS" ) ;
145
145
146
146
// for VS17.14
147
- public readonly bool TelemetryOptIn = Environment . GetEnvironmentVariable ( "MSBUILD_TELEMETRY_OPTIN" ) == "1" ;
147
+ public readonly bool TelemetryOptIn = IsEnvVarOneOrTrue ( "MSBUILD_TELEMETRY_OPTIN" ) ;
148
148
149
149
public static void UpdateFromEnvironment ( )
150
150
{
You can’t perform that action at this time.
0 commit comments