diff --git a/go/packages/golist.go b/go/packages/golist.go index 826ff002..c6c08a6f 100644 --- a/go/packages/golist.go +++ b/go/packages/golist.go @@ -587,7 +587,7 @@ func golistDriverCurrent(cfg *Config, words ...string) (*driverResponse, error) if old, found := seen[p.ImportPath]; found { if !reflect.DeepEqual(p, old) { - return nil, fmt.Errorf("internal error: go list gives conflicting information for package ", p.ImportPath) + return nil, fmt.Errorf("internal error: go list gives conflicting information for package %v", p.ImportPath) } // skip the duplicate continue