mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 11:03:53 +08:00
fix(@angular-devkit/schematics): use error logger method when there is a workflow error
This commit is contained in:
parent
94b48d734f
commit
e40f23007b
@ -195,7 +195,7 @@ export async function main({
|
||||
error = true;
|
||||
|
||||
const desc = event.description == 'alreadyExist' ? 'already exists' : 'does not exist';
|
||||
logger.warn(`ERROR! ${event.path} ${desc}.`);
|
||||
logger.error(`ERROR! ${event.path} ${desc}.`);
|
||||
break;
|
||||
case 'update':
|
||||
loggingQueue.push(tags.oneLine`
|
||||
|
Loading…
x
Reference in New Issue
Block a user