File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -255,19 +255,19 @@ function getStyledTextForLogging(style: LogStyle): ((text: string) => string) |
255255 }
256256 switch ( style ) {
257257 case 'blue' :
258- return ( text ) => pc . bgBlue ( pc . whiteBright ( text ) )
258+ return text => pc . bgBlue ( pc . whiteBright ( text ) )
259259 case 'cyan' :
260- return ( text ) => pc . bgCyan ( pc . whiteBright ( text ) )
260+ return text => pc . bgCyan ( pc . whiteBright ( text ) )
261261 case 'green' :
262- return ( text ) => pc . bgGreen ( pc . whiteBright ( text ) )
262+ return text => pc . bgGreen ( pc . whiteBright ( text ) )
263263 case 'magenta' :
264- return ( text ) => pc . bgMagenta ( pc . whiteBright ( text ) )
264+ return text => pc . bgMagenta ( pc . whiteBright ( text ) )
265265 case 'red' :
266- return ( text ) => pc . bgRedBright ( pc . whiteBright ( text ) )
266+ return text => pc . bgRedBright ( pc . whiteBright ( text ) )
267267 case 'white' :
268- return ( text ) => pc . bgWhite ( pc . black ( text ) )
268+ return text => pc . bgWhite ( pc . black ( text ) )
269269 case 'yellow' :
270- return ( text ) => pc . bgYellow ( pc . whiteBright ( text ) )
270+ return text => pc . bgYellow ( pc . whiteBright ( text ) )
271271 }
272272}
273273
You can’t perform that action at this time.
0 commit comments