refactor(compiler-cli): ngcc - remove unnecessary sourcePath
parameters (#29643)
The `Transformer` and `Renderer` classes do not actually need a `sourcePath` value as by the time they are doing their work we are only working directly with full absolute paths. PR Close #29643
This commit is contained in:

committed by
Andrew Kushnir

parent
1195dabb84
commit
78b5bd5174
@ -15,10 +15,8 @@ import {EntryPointBundle} from '../packages/entry_point_bundle';
|
||||
import {Logger} from '../logging/logger';
|
||||
|
||||
export class Esm5Renderer extends EsmRenderer {
|
||||
constructor(
|
||||
logger: Logger, host: NgccReflectionHost, isCore: boolean, bundle: EntryPointBundle,
|
||||
sourcePath: string) {
|
||||
super(logger, host, isCore, bundle, sourcePath);
|
||||
constructor(logger: Logger, host: NgccReflectionHost, isCore: boolean, bundle: EntryPointBundle) {
|
||||
super(logger, host, isCore, bundle);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user