From e250d351ecad161c4cf2f50bce18a1b2df5dfd78 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Thu, 21 Mar 2019 23:13:33 +0000 Subject: [PATCH] go/packages: fix the build Broken by CL 168657 Change-Id: I359d53c13eb470a5d95440d89b0cca3616b94f00 Reviewed-on: https://go-review.googlesource.com/c/tools/+/168798 Run-TryBot: Brad Fitzpatrick Reviewed-by: Ian Cottrell TryBot-Result: Gobot Gobot --- go/packages/golist.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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