1
0
mirror of https://github.com/mgechev/revive.git synced 2025-11-23 22:04:49 +02:00

refactor: removes get from getters names (#1373)

This commit is contained in:
chavacava
2025-05-24 19:03:05 +02:00
committed by GitHub
parent f531af3b48
commit 94cd7bdec2
7 changed files with 24 additions and 10 deletions

View File

@@ -43,7 +43,7 @@ func (*Checkstyle) Format(failures <-chan lint.Failure, config lint.Config) (str
Severity: severity(config, failure),
RuleName: failure.RuleName,
}
fn := failure.GetFilename()
fn := failure.Filename()
if issues[fn] == nil {
issues[fn] = []issue{}
}