Skip to content

Commit 47cd3d9

Browse files
committed
fix
1 parent 9d539b0 commit 47cd3d9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/addons/consoleCatcher.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ const createConsoleCatcher = (): {
2727
if (typeof firstArg !== 'string' || !firstArg.includes('%c')) {
2828

2929
return {
30-
message: args
31-
.map((arg) => {
30+
message: args.map((arg) => {
3231
if (typeof arg === 'string') return arg;
3332
if (typeof arg === 'number' || typeof arg === 'boolean')
3433
return String(arg);

0 commit comments

Comments
 (0)