refactor(core): Fix "explicit-query-timing" failure span. (#29792)
PR Close #29792
This commit is contained in:
parent
4191344cb4
commit
faf8fdde14
|
@ -60,7 +60,7 @@ export class Rule extends Rules.TypedRule {
|
||||||
`marked as "{static: ${(timing === QueryTiming.STATIC).toString()}}".`;
|
`marked as "{static: ${(timing === QueryTiming.STATIC).toString()}}".`;
|
||||||
|
|
||||||
failures.push(new RuleFailure(
|
failures.push(new RuleFailure(
|
||||||
sourceFile, queryExpr.getStart(), queryExpr.getWidth(), failureMessage, this.ruleName,
|
sourceFile, queryExpr.getStart(), queryExpr.getEnd(), failureMessage, this.ruleName,
|
||||||
fix));
|
fix));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue