File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -87,13 +87,15 @@ export class TelemetryClient extends BaseTelemetryClient {
8787
8888 protected override isEventCapturable ( eventName : TelemetryEventName ) : boolean {
8989 // Ensure that this event type is supported by the telemetry client
90- if ( ! super . isEventCapturable ( eventName ) ) { return false ; }
91-
90+ if ( ! super . isEventCapturable ( eventName ) ) {
91+ return false
92+ }
93+
9294 // Only record message telemetry if a cloud account is present and explicitly configured to record messages
9395 if ( eventName === TelemetryEventName . TASK_MESSAGE ) {
94- return this . settingsService . getSettings ( ) ?. cloudSettings ?. recordTaskMessages || false )
96+ return this . settingsService . getSettings ( ) ?. cloudSettings ?. recordTaskMessages || false
9597 }
96-
98+
9799 // Other telemetry types are capturable at this point
98100 return true
99101 }
You can’t perform that action at this time.
0 commit comments