File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/angular_devkit/core/node Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,19 +25,19 @@ export function createConsoleLogger(
2525 logger
2626 . pipe ( filter ( entry => ( entry . level != 'debug' || verbose ) ) )
2727 . subscribe ( entry => {
28- let color : ( s : string ) => string = x => terminal . dim ( terminal . white ( x ) ) ;
28+ let color = terminal . dim ;
2929 let output = stdout ;
3030 switch ( entry . level ) {
3131 case 'info' :
32- color = terminal . white ;
32+ color = terminal . reset ;
3333 break ;
3434 case 'warn' :
35- color = ( x : string ) => terminal . bold ( terminal . yellow ( x ) ) ;
35+ color = ( s : string ) => terminal . bold ( terminal . yellow ( s ) ) ;
3636 output = stderr ;
3737 break ;
3838 case 'fatal' :
3939 case 'error' :
40- color = ( x : string ) => terminal . bold ( terminal . red ( x ) ) ;
40+ color = ( s : string ) => terminal . bold ( terminal . red ( s ) ) ;
4141 output = stderr ;
4242 break ;
4343 }
You can’t perform that action at this time.
0 commit comments