Skip to content

Commit 3ab9c2e

Browse files
committed
fix: Address PR review
1 parent 885c741 commit 3ab9c2e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/apm/src/integrations/tracing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ function historyCallback(_: { [key: string]: any }): void {
10491049

10501050
/**
10511051
* Helper function to start child on transactions. This function will make sure that the transaction will
1052-
* will use the start timestamp of the created child span if it is earlier than the transactions actual
1052+
* use the start timestamp of the created child span if it is earlier than the transactions actual
10531053
* start timestamp.
10541054
*/
10551055
export function _startChild(parent: Span, { startTimestamp, ...ctx }: SpanContext): Span {

packages/tracing/src/browser/metrics.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { SpanContext } from '@sentry/types';
22
import { getGlobalObject, logger } from '@sentry/utils';
33

4+
import { Span } from '../span';
45
import { Transaction } from '../transaction';
56

67
import { msToSec } from './utils';
@@ -273,7 +274,7 @@ function addRequest(transaction: Transaction, entry: Record<string, any>, timeOr
273274

274275
/**
275276
* Helper function to start child on transactions. This function will make sure that the transaction will
276-
* will use the start timestamp of the created child span if it is earlier than the transactions actual
277+
* use the start timestamp of the created child span if it is earlier than the transactions actual
277278
* start timestamp.
278279
*/
279280
export function _startChild(transaction: Transaction, { startTimestamp, ...ctx }: SpanContext): Span {

0 commit comments

Comments
 (0)