importas: fix typo in logs (#3762)
This commit is contained in:
parent
51f8a6141c
commit
2dede6aa2e
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user