Skip to content

Commit

Permalink
review: fix copy-paste
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Oct 9, 2023
1 parent 66247e7 commit 0a84704
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/golinters/protogetter.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ func NewProtoGetter() *goanalysis.Linter {

a := protogetter.NewAnalyzer()
a.Run = func(pass *analysis.Pass) (any, error) {
taIssues := protogetter.Run(pass, protogetter.GolangciLintMode)
pgIssues := protogetter.Run(pass, protogetter.GolangciLintMode)

issues := make([]goanalysis.Issue, len(taIssues))
for i, issue := range taIssues {
issues := make([]goanalysis.Issue, len(pgIssues))
for i, issue := range pgIssues {
report := &result.Issue{
FromLinter: a.Name,
Pos: issue.Pos,
Expand Down

0 comments on commit 0a84704

Please sign in to comment.