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
@ -24,7 +24,7 @@ import {MockLogger} from '../helpers/mock_logger';
|
||||
class TestRenderer extends Renderer {
|
||||
constructor(
|
||||
logger: Logger, host: Esm2015ReflectionHost, isCore: boolean, bundle: EntryPointBundle) {
|
||||
super(logger, host, isCore, bundle, '/src');
|
||||
super(logger, host, isCore, bundle);
|
||||
}
|
||||
addImports(
|
||||
output: MagicString, imports: {specifier: string, qualifier: string}[], sf: ts.SourceFile) {
|
||||
|
Reference in New Issue
Block a user