refactor(core): Fix "explicit-query-timing" failure span. (#29792)

PR Close #29792
This commit is contained in:
Bowen Ni 2019-04-09 12:21:28 -07:00 committed by Igor Minar
parent 4191344cb4
commit faf8fdde14
1 changed files with 1 additions and 1 deletions

View File

@ -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));
});