Skip to content

Commit 21948ff

Browse files
committed
linting fixes
1 parent 23e268f commit 21948ff

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

packages/node-experimental/src/integrations/http.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,14 @@ import { SpanKind } from '@opentelemetry/api';
44
import { registerInstrumentations } from '@opentelemetry/instrumentation';
55
import { HttpInstrumentation } from '@opentelemetry/instrumentation-http';
66
import { hasTracingEnabled, isSentryRequestUrl } from '@sentry/core';
7-
import { _INTERNAL, getClient, getCurrentHub, getSpanKind, getSpanScope, setSpanMetadata } from '@sentry/opentelemetry';
7+
import { _INTERNAL, getClient, getCurrentHub, getSpanKind, setSpanMetadata } from '@sentry/opentelemetry';
88
import type { EventProcessor, Hub, Integration } from '@sentry/types';
99
import { stringMatchesSomePattern } from '@sentry/utils';
1010

11-
import { getSpanContext } from '@opentelemetry/api/build/src/trace/context-utils';
1211
import { getIsolationScope, setIsolationScope } from '../sdk/api';
1312
import { Scope } from '../sdk/scope';
1413
import type { NodeExperimentalClient } from '../types';
1514
import { addOriginToSpan } from '../utils/addOriginToSpan';
16-
import { getScopesFromContext } from '../utils/contextData';
1715
import { getRequestUrl } from '../utils/getRequestUrl';
1816

1917
interface HttpOptions {

packages/node-experimental/src/sdk/api.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ import type {
2121
import { GLOBAL_OBJ, consoleSandbox, dateTimestampInSeconds } from '@sentry/utils';
2222

2323
import { getScopesFromContext, setScopesOnContext } from '../utils/contextData';
24-
import { ExclusiveEventHintOrCaptureContext, parseEventHintOrCaptureContext } from '../utils/prepareEvent';
24+
import type { ExclusiveEventHintOrCaptureContext} from '../utils/prepareEvent';
25+
import { parseEventHintOrCaptureContext } from '../utils/prepareEvent';
2526
import { getGlobalCarrier } from './globals';
2627
import { Scope } from './scope';
2728
import type { CurrentScopes, SentryCarrier } from './types';

packages/node-experimental/src/utils/prepareEvent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Scope } from '@sentry/core';
2-
import { CaptureContext, EventHint, Scope as ScopeInterface, ScopeContext } from '@sentry/types';
2+
import type { CaptureContext, EventHint, Scope as ScopeInterface, ScopeContext } from '@sentry/types';
33

44
/**
55
* This type makes sure that we get either a CaptureContext, OR an EventHint.

0 commit comments

Comments
 (0)