diff options
author | Russ Cox <rsc@golang.org> | 2021-04-15 12:49:06 -0400 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2022-03-25 21:22:34 +0000 |
commit | e693fb417253d14786976bd29a456961aa8b6343 (patch) | |
tree | 5141a2deeeca8b7102f116795aac01abfa28dda7 /internal/lsp/testdata/testy/testy_test.go.golden | |
parent | ed5a15cbaa4266cbe97eced11b670037c9f97736 (diff) | |
download | golang-x-tools-e693fb417253d14786976bd29a456961aa8b6343.tar.gz |
go/internal/gcimporter: fix IImportBundle error text
When called from IImportBundle, the current code returns
a message saying:
cannot import "" (actual error) ...
That looks like the user has somehow caused an invalid import path
to be passed, which is not the case. Skip the wrapping in the bundle case.
Change-Id: I6cdb83911d18501895671fc70d87c2519f0570a3
Reviewed-on: https://go-review.googlesource.com/c/tools/+/310514
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
Auto-Submit: Russ Cox <rsc@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'internal/lsp/testdata/testy/testy_test.go.golden')
0 files changed, 0 insertions, 0 deletions