From 14fdfa01f4ad0ad3afebbf2689958513dc5bc8d7 Mon Sep 17 00:00:00 2001 From: Tim Fish Date: Tue, 29 Oct 2024 21:35:41 +0100 Subject: [PATCH] Fix linting --- packages/core/src/reporting.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/reporting.ts b/packages/core/src/reporting.ts index ad6e5cc462e8..60ed2f7fc991 100644 --- a/packages/core/src/reporting.ts +++ b/packages/core/src/reporting.ts @@ -4,7 +4,7 @@ import { createRawSecurityEnvelope } from './envelope'; /** Captures reports from the Reporting API */ export async function captureReportingApi(reports: Report[], options?: { client?: Client }): Promise { - const client = options?.client || getClient(); + const client = options ? options.client : getClient(); if (!client) { // eslint-disable-next-line no-console