Skip to content

Commit 06da0e7

Browse files
authored
Merge pull request #132 from arduino/per1234/show-brief
Show brief after rule ID in verbose text output
2 parents b2f7371 + 728b828 commit 06da0e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: internal/rule/rule.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func Runner(project project.Type) {
4848
}
4949

5050
// Output will be printed after all rules are finished when configured for "json" output format.
51-
feedback.VerbosePrintf("Running rule %s...\n", ruleConfiguration.ID)
51+
feedback.VerbosePrintf("Running rule %s (%s)...\n", ruleConfiguration.ID, ruleConfiguration.Brief)
5252

5353
ruleResult, ruleOutput := ruleConfiguration.RuleFunction()
5454
reportText := result.Results.Record(project, ruleConfiguration, ruleResult, ruleOutput)

0 commit comments

Comments
 (0)