Skip to content

Commit 15fdf09

Browse files
author
Luca Forstner
authored
ref(core): Small bundle size improvement (#12830)
1 parent 616915b commit 15fdf09

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/core/src/integrations/metadata.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const moduleMetadataIntegration = defineIntegration(() => {
3333

3434
client.on('applyFrameMetadata', event => {
3535
// Only apply stack frame metadata to error events
36-
if (event.type !== undefined) {
36+
if (event.type) {
3737
return;
3838
}
3939

packages/core/src/integrations/third-party-errors-filter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export const thirdPartyErrorFilterIntegration = defineIntegration((options: Opti
5656

5757
client.on('applyFrameMetadata', event => {
5858
// Only apply stack frame metadata to error events
59-
if (event.type !== undefined) {
59+
if (event.type) {
6060
return;
6161
}
6262

0 commit comments

Comments
 (0)