mirror of
https://github.com/mgechev/revive.git
synced 2025-07-17 01:12:27 +02:00
refactor: removes get
from getters names (#1373)
This commit is contained in:
@ -75,9 +75,9 @@ func (r *Revive) Lint(patterns ...*LintPattern) (<-chan lint.Failure, error) {
|
||||
|
||||
for _, lintpkg := range patterns {
|
||||
if lintpkg.IsExclude() {
|
||||
excludePatterns = append(excludePatterns, lintpkg.GetPattern())
|
||||
excludePatterns = append(excludePatterns, lintpkg.Pattern())
|
||||
} else {
|
||||
includePatterns = append(includePatterns, lintpkg.GetPattern())
|
||||
includePatterns = append(includePatterns, lintpkg.Pattern())
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user