fix(@angular-devkit/schematics): use error logger method when there is a workflow error

This commit is contained in:
Alan Agius 2019-10-28 10:23:15 +01:00 committed by vikerman
parent 94b48d734f
commit e40f23007b

View File

@ -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`