Skip to content

Commit 18fb4c5

Browse files
filipesilvaBrocco
authored andcommitted
fix(@ngtools/webpack): fix gather diagnostics label
1 parent 67248be commit 18fb4c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/@ngtools/webpack/src/angular_compiler_plugin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ export class AngularCompilerPlugin implements Tapable {
784784

785785
if (this._firstRun || !this._forkTypeChecker) {
786786
allDiagnostics.push(...gatherDiagnostics(this._program, this._JitMode,
787-
'AngularCompilerPluginOptions'));
787+
'AngularCompilerPlugin._emit.ts'));
788788
}
789789

790790
if (!hasErrors(allDiagnostics)) {
@@ -815,7 +815,7 @@ export class AngularCompilerPlugin implements Tapable {
815815

816816
if (this._firstRun || !this._forkTypeChecker) {
817817
allDiagnostics.push(...gatherDiagnostics(this._program, this._JitMode,
818-
'AngularCompilerPluginOptions'));
818+
'AngularCompilerPlugin._emit.ng'));
819819
}
820820

821821
if (!hasErrors(allDiagnostics)) {

0 commit comments

Comments
 (0)