File tree 1 file changed +4
-4
lines changed
packages/angular_devkit/core/node
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,19 +25,19 @@ export function createConsoleLogger(
25
25
logger
26
26
. pipe ( filter ( entry => ( entry . level != 'debug' || verbose ) ) )
27
27
. subscribe ( entry => {
28
- let color : ( s : string ) => string = x => terminal . dim ( terminal . white ( x ) ) ;
28
+ let color = terminal . dim ;
29
29
let output = stdout ;
30
30
switch ( entry . level ) {
31
31
case 'info' :
32
- color = terminal . white ;
32
+ color = terminal . reset ;
33
33
break ;
34
34
case 'warn' :
35
- color = ( x : string ) => terminal . bold ( terminal . yellow ( x ) ) ;
35
+ color = ( s : string ) => terminal . bold ( terminal . yellow ( s ) ) ;
36
36
output = stderr ;
37
37
break ;
38
38
case 'fatal' :
39
39
case 'error' :
40
- color = ( x : string ) => terminal . bold ( terminal . red ( x ) ) ;
40
+ color = ( s : string ) => terminal . bold ( terminal . red ( s ) ) ;
41
41
output = stderr ;
42
42
break ;
43
43
}
You can’t perform that action at this time.
0 commit comments