Skip to content

Commit

Permalink
Merge pull request #2644 from smileQiny/master
Browse files Browse the repository at this point in the history
Support correct repository (description) for CustomCxxRulesDefinition
  • Loading branch information
guwirth authored Mar 4, 2024
2 parents a11500f + e2c3004 commit d9a0441
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ private void saveViolations(InputFile inputFile, SourceFile sourceFile) {

RuleKey ruleKey = checks.ruleKey((SquidAstVisitor<Grammar>) message.getCheck());
if (ruleKey != null) {
var newIssue = context.newIssue().forRule(RuleKey.of(CheckList.REPOSITORY_KEY, ruleKey.rule()));
var newIssue = context.newIssue().forRule(RuleKey.of(ruleKey.repository(), ruleKey.rule()));
var location = newIssue.newLocation()
.on(inputFile)
.at(inputFile.selectLine(line))
Expand Down

0 comments on commit d9a0441

Please sign in to comment.