Skip to content

Commit a94d761

Browse files
committed
Fix typo
1 parent a27f825 commit a94d761

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

packages/cloud/src/TelemetryClient.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)