fix(compiler-cli): log ngcc skipping messages as debug instead of info (#30232)

Related to https://github.com/angular/angular-cli/issues/14194, https://github.com/angular/angular-cli/pull/14320

PR Close #30232
This commit is contained in:
Filipe Silva
2019-05-02 09:34:01 +01:00
committed by Kara Erickson
parent 4537816c1d
commit 60a8888b4f
3 changed files with 8 additions and 8 deletions

View File

@ -91,7 +91,7 @@ export function mainNgcc(
if (absoluteTargetEntryPointPath &&
hasProcessedTargetEntryPoint(
fs, absoluteTargetEntryPointPath, propertiesToConsider, compileAllFormats)) {
logger.info('The target entry-point has already been processed');
logger.debug('The target entry-point has already been processed');
return;
}
@ -124,7 +124,7 @@ export function mainNgcc(
if (hasBeenProcessed(entryPointPackageJson, property)) {
compiledFormats.add(formatPath);
logger.info(`Skipping ${entryPoint.name} : ${property} (already compiled).`);
logger.debug(`Skipping ${entryPoint.name} : ${property} (already compiled).`);
continue;
}
@ -147,7 +147,7 @@ export function mainNgcc(
`Skipping ${entryPoint.name} : ${format} (no valid entry point file for this format).`);
}
} else if (!compileAllFormats) {
logger.info(`Skipping ${entryPoint.name} : ${property} (already compiled).`);
logger.debug(`Skipping ${entryPoint.name} : ${property} (already compiled).`);
}
// Either this format was just compiled or its underlying format was compiled because of a