diff --git a/packages/core/schematics/migrations/static-queries/google3/explicitQueryTimingRule.ts b/packages/core/schematics/migrations/static-queries/google3/explicitQueryTimingRule.ts index f8c92ef135..9af92ee47e 100644 --- a/packages/core/schematics/migrations/static-queries/google3/explicitQueryTimingRule.ts +++ b/packages/core/schematics/migrations/static-queries/google3/explicitQueryTimingRule.ts @@ -60,7 +60,7 @@ export class Rule extends Rules.TypedRule { `marked as "{static: ${(timing === QueryTiming.STATIC).toString()}}".`; failures.push(new RuleFailure( - sourceFile, queryExpr.getStart(), queryExpr.getWidth(), failureMessage, this.ruleName, + sourceFile, queryExpr.getStart(), queryExpr.getEnd(), failureMessage, this.ruleName, fix)); });