Skip to content

Commit

Permalink
Fix incorrect lint
Browse files Browse the repository at this point in the history
  • Loading branch information
timfish committed Feb 3, 2025
1 parent e2b0f98 commit 30733b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/integrations/electron-breadcrumbs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ export const electronBreadcrumbsIntegration = defineIntegration(
const emit = emitter.emit.bind(emitter) as (event: string, ...args: unknown[]) => boolean;

emitter.emit = (event: string, ...args: unknown[]) => {
// eslint-disable-next-line @typescript-eslint/prefer-optional-chain
if (shouldCapture && shouldCapture(event)) {
const breadcrumb: Breadcrumb = {
category: 'electron',
Expand Down

0 comments on commit 30733b5

Please sign in to comment.