Skip to content

Commit cdfbed1

Browse files
committed
lint fix
1 parent e043b85 commit cdfbed1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

MIGRATION.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ http://docs.sentry.io/platforms/javascript/configuration/transports/#offline-cac
1313

1414
## Removal of `Sentry.configureScope`.
1515

16-
The top level `Sentry.configureScope` function has been removed. Instead, you should use the `Sentry.getCurrentScope()` to access and mutate the current scope.
16+
The top level `Sentry.configureScope` function has been removed. Instead, you should use the `Sentry.getCurrentScope()`
17+
to access and mutate the current scope.
1718

1819
# Deprecations in 7.x
1920

packages/browser/test/package/test-code.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Sentry.init({
1717
});
1818

1919
// Configure
20-
const scope = Sentry.getCurrentScope()
20+
const scope = Sentry.getCurrentScope();
2121
scope.setExtra('foo', 'bar');
2222
scope.setFingerprint('foo');
2323
scope.setLevel('warning');

packages/hub/test/exports.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/* eslint-disable deprecation/deprecation */
22

33
import { getCurrentScope } from '@sentry/core';
4-
import type { Scope } from '../src';
54
import {
65
captureEvent,
76
captureException,

0 commit comments

Comments
 (0)