File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
packages/angular/cli/lib/cli Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 55 * Use of this source code is governed by an MIT-style license that can be
66 * found in the LICENSE file at https://angular.io/license
77 */
8-
8+ import { terminal } from '@angular-devkit/core' ;
99import { createConsoleLogger } from '@angular-devkit/core/node' ;
1010import { runCommand } from '../../models/command-runner' ;
1111import { getWorkspaceRaw } from '../../utilities/config' ;
1212import { getWorkspaceDetails } from '../../utilities/project' ;
1313
1414
1515export default async function ( options : { testing ?: boolean , cliArgs : string [ ] } ) {
16- const logger = createConsoleLogger ( ) ;
16+ const logger = createConsoleLogger (
17+ false ,
18+ process . stdout ,
19+ process . stderr ,
20+ {
21+ warn : s => terminal . bold ( terminal . yellow ( s ) ) ,
22+ error : s => terminal . bold ( terminal . red ( s ) ) ,
23+ fatal : s => terminal . bold ( terminal . red ( s ) ) ,
24+ } ,
25+ ) ;
1726
1827 let projectDetails = getWorkspaceDetails ( ) ;
1928 if ( projectDetails === null ) {
You can’t perform that action at this time.
0 commit comments