Skip to content

Commit a09e649

Browse files
committed
nitpick
1 parent 8739a30 commit a09e649

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pkg/goformat/runner.go

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

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

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)