Skip to content

Commit 7939e3e

Browse files
committed
of course, lint complains
1 parent 75bff04 commit 7939e3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/logs/internal.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import type { TypedAttributeValue } from '../attributes';
21
import { attributeValueToTypedAttributeValue } from '../attributes';
32
import { getGlobalSingleton } from '../carrier';
43
import type { Client } from '../client';
@@ -100,6 +99,7 @@ export function _INTERNAL_captureLog(
10099
user: { id, email, username },
101100
attributes: scopeAttributes = {},
102101
} = getMergedScopeData(currentScope);
102+
103103
setLogAttribute(processedLogAttributes, 'user.id', id, false);
104104
setLogAttribute(processedLogAttributes, 'user.email', email, false);
105105
setLogAttribute(processedLogAttributes, 'user.name', username, false);
@@ -158,7 +158,7 @@ export function _INTERNAL_captureLog(
158158
const serializedScopeAttributes = Object.fromEntries(
159159
Object.entries(scopeAttributes)
160160
.map(([key, value]) => [key, attributeValueToTypedAttributeValue(value)])
161-
.filter(([_, value]) => value != null),
161+
.filter(([, value]) => value != null),
162162
);
163163

164164
const serializedLogAttributes = Object.fromEntries(

0 commit comments

Comments
 (0)