Skip to content

Commit 6dc3e50

Browse files
committed
remove scope.getSession definedness check
1 parent f4e60c1 commit 6dc3e50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/hub/src/hub.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ export class Hub implements HubInterface {
447447
const { scope, client } = this.getStackTop();
448448
if (!scope) return;
449449

450-
const session = scope.getSession && scope.getSession();
450+
const session = scope.getSession();
451451
if (session) {
452452
if (client && client.captureSession) {
453453
client.captureSession(session);

0 commit comments

Comments
 (0)