mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-04 18:38:45 -04:00
dev: fix interface implement check for "SkipDirs" (#2078)
This commit is contained in:
parent
ad4f92788d
commit
f08d330cbd
2 changed files with 2 additions and 2 deletions
pkg/result/processors
|
@ -24,7 +24,7 @@ type SkipDirs struct {
|
|||
skippedDirsCache map[string]bool
|
||||
}
|
||||
|
||||
var _ Processor = SkipFiles{}
|
||||
var _ Processor = (*SkipDirs)(nil)
|
||||
|
||||
const goFileSuffix = ".go"
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ type SkipFiles struct {
|
|||
patterns []*regexp.Regexp
|
||||
}
|
||||
|
||||
var _ Processor = SkipFiles{}
|
||||
var _ Processor = (*SkipFiles)(nil)
|
||||
|
||||
func NewSkipFiles(patterns []string) (*SkipFiles, error) {
|
||||
var patternsRe []*regexp.Regexp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue