Skip to content

Commit 2dede6a

Browse files
authored
importas: fix typo in logs (#3762)
1 parent 51f8a61 commit 2dede6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/golinters/importas.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func NewImportAs(settings *config.ImportAsSettings) *goanalysis.Linter {
5151
}
5252

5353
if v, ok := uniqAliases[a.Alias]; ok {
54-
lintCtx.Log.Errorf("invalid configuration, multiple packages with the same alias: pkg=%s packages=[%s,%s]", a.Alias, a.Pkg, v.Pkg)
54+
lintCtx.Log.Errorf("invalid configuration, multiple packages with the same alias: alias=%s packages=[%s,%s]", a.Alias, a.Pkg, v.Pkg)
5555
} else {
5656
uniqAliases[a.Alias] = a
5757
}

0 commit comments

Comments
 (0)