Skip to content

Commit

Permalink
More lint
Browse files Browse the repository at this point in the history
  • Loading branch information
timfish committed Feb 3, 2025
1 parent 30733b5 commit 7337695
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
8 changes: 1 addition & 7 deletions src/renderer/ipc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,7 @@
/* eslint-disable no-console */
import { logger, uuid4 } from '@sentry/core';

import {
IPCChannel,
IPCInterface,
PROTOCOL_SCHEME,
RENDERER_ID_HEADER,
RendererStatus,
} from '../common/ipc';
import { IPCChannel, IPCInterface, PROTOCOL_SCHEME, RENDERER_ID_HEADER, RendererStatus } from '../common/ipc';

function buildUrl(channel: IPCChannel): string {
// We include sentry_key in the URL so these don't end up in fetch breadcrumbs
Expand Down
5 changes: 4 additions & 1 deletion src/renderer/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ import { makeRendererTransport } from './transport';

/** Get the default integrations for the renderer SDK. */
export function getDefaultIntegrations(options: ElectronRendererOptions): Integration[] {
return [...getDefaultBrowserIntegrations(options).filter(i => i.name !== 'BrowserSession'), scopeToMainIntegration()];
return [
...getDefaultBrowserIntegrations(options).filter((i) => i.name !== 'BrowserSession'),
scopeToMainIntegration(),
];
}

interface ElectronRendererOptions extends Omit<BrowserOptions, 'dsn' | 'environment' | 'release'> {
Expand Down

0 comments on commit 7337695

Please sign in to comment.