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) |
255
255
}
256
256
switch ( style ) {
257
257
case 'blue' :
258
- return ( text ) => pc . bgBlue ( pc . whiteBright ( text ) )
258
+ return text => pc . bgBlue ( pc . whiteBright ( text ) )
259
259
case 'cyan' :
260
- return ( text ) => pc . bgCyan ( pc . whiteBright ( text ) )
260
+ return text => pc . bgCyan ( pc . whiteBright ( text ) )
261
261
case 'green' :
262
- return ( text ) => pc . bgGreen ( pc . whiteBright ( text ) )
262
+ return text => pc . bgGreen ( pc . whiteBright ( text ) )
263
263
case 'magenta' :
264
- return ( text ) => pc . bgMagenta ( pc . whiteBright ( text ) )
264
+ return text => pc . bgMagenta ( pc . whiteBright ( text ) )
265
265
case 'red' :
266
- return ( text ) => pc . bgRedBright ( pc . whiteBright ( text ) )
266
+ return text => pc . bgRedBright ( pc . whiteBright ( text ) )
267
267
case 'white' :
268
- return ( text ) => pc . bgWhite ( pc . black ( text ) )
268
+ return text => pc . bgWhite ( pc . black ( text ) )
269
269
case 'yellow' :
270
- return ( text ) => pc . bgYellow ( pc . whiteBright ( text ) )
270
+ return text => pc . bgYellow ( pc . whiteBright ( text ) )
271
271
}
272
272
}
273
273
You can’t perform that action at this time.
0 commit comments