Skip to content

Commit bdb48aa

Browse files
author
Ives van Hoorne
committed
Support multiple arguments in console.log
1 parent ee8e1f8 commit bdb48aa

File tree

1 file changed

+2
-1
lines changed
  • src/app/components/sandbox/Preview/DevTools/Console

1 file changed

+2
-1
lines changed

src/app/components/sandbox/Preview/DevTools/Console/Message.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ function getMessage(message: IMessage) {
118118

119119
if (
120120
message.arguments.length > 0 &&
121-
typeof message.arguments[0] === 'string'
121+
typeof message.arguments[0] === 'string' &&
122+
message.arguments[0].indexOf('%') > -1
122123
) {
123124
return (
124125
<InnerItem

0 commit comments

Comments
 (0)