Skip to content

Commit

Permalink
fix(@angular-devkit/schematics): use error logger method when there i…
Browse files Browse the repository at this point in the history
…s a workflow error
  • Loading branch information
alan-agius4 authored and vikerman committed Oct 30, 2019
1 parent 94b48d7 commit e40f230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/angular_devkit/schematics_cli/bin/schematics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit e40f230

Please sign in to comment.