mirror of
https://github.com/stablyai/orca.git
synced 2026-10-13 00:02:54 +00:00
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 <help@stably.ai>
This commit is contained in:
@@ -255,8 +255,6 @@ function waitForCaptureEnqueue(client: PostHog, event: EventName, uuid: string):
|
||||
// `ORCA_POSTHOG_WRITE_KEY`.
|
||||
export function track<N extends EventName>(name: N, props: EventProps<N>): void {
|
||||
if (!testTransportEnabled && (!IS_OFFICIAL_BUILD || !TELEMETRY_ENABLED)) {
|
||||
void name
|
||||
void props
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user