refactor(ivy): ngcc - remove redundant entryPoint argument from writeBundle() (#32052)

The entry-point is already available through the `bundle` argument, so
passing it separately is redundant.

PR Close #32052
This commit is contained in:
George Kalpakas
2019-08-08 02:35:22 +03:00
committed by Alex Rickabaugh
parent ed70f73794
commit 93d27eefd5
6 changed files with 27 additions and 30 deletions

View File

@ -171,7 +171,7 @@ export function mainNgcc(
logger.info(`Compiling ${entryPoint.name} : ${formatProperty} as ${format}`);
const transformedFiles = transformer.transform(bundle);
fileWriter.writeBundle(entryPoint, bundle, transformedFiles, formatProperty);
fileWriter.writeBundle(bundle, transformedFiles, formatProperty);
onTaskCompleted(task, TaskProcessingOutcome.Processed);
};