Skip to content

Commit 9818ee3

Browse files
committed
lint: prettier
1 parent efada28 commit 9818ee3

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

packages/browser/src/profiling/hubextensions.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ import type {
1010
JSSelfProfilerConstructor,
1111
ProcessedJSSelfProfile,
1212
} from './jsSelfProfiling';
13-
import { addToProfileQueue , isValidSampleRate } from './utils';
14-
13+
import { addToProfileQueue, isValidSampleRate } from './utils';
1514

1615
export const MAX_PROFILE_DURATION_MS = 30_000;
1716
// Keep a flag value to avoid re-initializing the profiler constructor. If it fails
@@ -270,5 +269,3 @@ export function wrapTransactionWithProfiling(transaction: Transaction): Transact
270269
transaction.finish = profilingWrappedTransactionFinish;
271270
return transaction;
272271
}
273-
274-

packages/browser/src/profiling/integration.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@ import { logger } from '@sentry/utils';
55
import type { BrowserClient } from './../client';
66
import { wrapTransactionWithProfiling } from './hubextensions';
77
import type { ProfiledEvent } from './utils';
8-
import { addProfilesToEnvelope, createProfilingEvent, findProfiledTransactionsFromEnvelope,PROFILE_QUEUE } from './utils';
8+
import {
9+
addProfilesToEnvelope,
10+
createProfilingEvent,
11+
findProfiledTransactionsFromEnvelope,
12+
PROFILE_QUEUE,
13+
} from './utils';
914

1015
/**
1116
* Browser profiling integration. Stores any event that has contexts["profile"]["profile_id"]

packages/browser/src/profiling/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,4 +463,4 @@ export function addToProfileQueue(profile: ProcessedJSSelfProfile): void {
463463
if (PROFILE_QUEUE.length > MAX_PROFILE_QUEUE_SIZE) {
464464
PROFILE_QUEUE.shift();
465465
}
466-
}
466+
}

0 commit comments

Comments
 (0)