Commit 9892eab jin
committed
1 parent d64cd53 commit 9892eab Copy full SHA for 9892eab
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -921,7 +921,7 @@ namespace $ {
921
921
$mol_fail_hidden ( error )
922
922
}
923
923
924
- target . text ( `console.info( '%c ▫ $mol_build ▫ Audit passed', 'color:forestgreen; font-weight:bolder' )` )
924
+ target . text ( `console.info( '%c place: $mol_build\nmessage: Audit passed', 'color:forestgreen; font-weight:bolder' )` )
925
925
926
926
return [ target ]
927
927
}
Original file line number Diff line number Diff line change @@ -14,15 +14,15 @@ namespace $ {
14
14
if ( pending ) pending ( )
15
15
16
16
let tpl = '%c'
17
- const chunks = Object . values ( event )
17
+ const chunks = Object . entries ( event )
18
18
19
19
for ( let i = 0 ; i < chunks . length ; ++ i ) {
20
- tpl += ( typeof chunks [ i ] === 'string' ) ? ' ▫ %s ' : ' ▫ %o '
20
+ tpl += ( typeof chunks [ i ] [ 1 ] === 'string' ) ? '%s: %s\n ' : '%s: %o\n '
21
21
}
22
22
23
23
const style = `color:${ color } ;font-weight:bolder`
24
24
25
- ; ( this . console [ level ] as any ) ( tpl , style , ... chunks )
25
+ ; ( this . console [ level ] as any ) ( tpl , style , ... ( [ ] as any [ ] ) . concat ( ... chunks ) )
26
26
27
27
const self = this
28
28
return ( ) => self . console . groupEnd ( )
You can’t perform that action at this time.
0 commit comments