Skip to content

Commit 5905471

Browse files
committed
nitpick
1 parent a03530a commit 5905471

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: pkg/goformat/runner.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func (c *Runner) Run(paths []string) error {
6868

6969
for pattern, count := range c.opts.excludedPathCounter {
7070
if c.opts.warnUnused && count == 0 {
71-
c.log.Warnf("The pattern %q match %d issues", pattern, count)
71+
c.log.Warnf("The pattern %q match no issues", pattern)
7272
} else {
7373
c.log.Infof("Skipped %d issues by pattern %q", count, pattern)
7474
}

Diff for: pkg/result/processors/exclusion_paths.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,15 @@ func (p *ExclusionPaths) Process(issues []result.Issue) ([]result.Issue, error)
7979
func (p *ExclusionPaths) Finish() {
8080
for pattern, count := range p.excludedPathCounter {
8181
if p.warnUnused && count == 0 {
82-
p.log.Warnf("The pattern %q match %d issues", pattern, count)
82+
p.log.Warnf("The pattern %q match no issues", pattern)
8383
} else {
8484
p.log.Infof("Skipped %d issues by pattern %q", count, pattern)
8585
}
8686
}
8787

8888
for pattern, count := range p.excludedPathExceptCounter {
8989
if p.warnUnused && count == 0 {
90-
p.log.Warnf("The pattern %q match %d issues", pattern, count)
90+
p.log.Warnf("The pattern %q match no issues", pattern)
9191
}
9292
}
9393
}

0 commit comments

Comments
 (0)