Skip to content

Commit

Permalink
importas: fix typo in logs (#3762)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Apr 4, 2023
1 parent 51f8a61 commit 2dede6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/golinters/importas.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func NewImportAs(settings *config.ImportAsSettings) *goanalysis.Linter {
}

if v, ok := uniqAliases[a.Alias]; ok {
lintCtx.Log.Errorf("invalid configuration, multiple packages with the same alias: pkg=%s packages=[%s,%s]", a.Alias, a.Pkg, v.Pkg)
lintCtx.Log.Errorf("invalid configuration, multiple packages with the same alias: alias=%s packages=[%s,%s]", a.Alias, a.Pkg, v.Pkg)
} else {
uniqAliases[a.Alias] = a
}
Expand Down

0 comments on commit 2dede6a

Please sign in to comment.