Skip to content

Commit 91ae0f6

Browse files
Update lib/logger.js
Co-authored-by: Chemi Atlow <[email protected]>
1 parent df2b7fe commit 91ae0f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/logger.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class JSONConsumer extends LogConsumer {
119119
super(options);
120120
const {
121121
stream,
122-
fields = {},
122+
fields = kEmptyObject,
123123
} = options;
124124

125125
validateObject(fields, 'options.fields');

0 commit comments

Comments
 (0)