From c4ce516ce952559da26eebcbb7feae302abb0a2a Mon Sep 17 00:00:00 2001 From: brennanb2025 Date: Tue, 5 May 2026 21:43:35 -0700 Subject: [PATCH] chore(telemetry): drop dead `void name`/`void props` from track() Leftover unused-param suppressors from the prior commit. Both `name` and `props` are referenced later in the function (burst cap, validate, capture), so no suppression is needed at the early-return. Co-authored-by: Orca --- src/main/telemetry/client.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/telemetry/client.ts b/src/main/telemetry/client.ts index b8216c4c341..03b8effc7f9 100644 --- a/src/main/telemetry/client.ts +++ b/src/main/telemetry/client.ts @@ -255,8 +255,6 @@ function waitForCaptureEnqueue(client: PostHog, event: EventName, uuid: string): // `ORCA_POSTHOG_WRITE_KEY`. export function track(name: N, props: EventProps): void { if (!testTransportEnabled && (!IS_OFFICIAL_BUILD || !TELEMETRY_ENABLED)) { - void name - void props return }