cmd/go: support workspaces in vet
Add modload.InitWorkfile to runVet so that the vet command recognizes and uses the workspace. Fixes #51072 Change-Id: Ia6727eff9b80eb33627f5ae23e4d72cde581e75f Reviewed-on: https://go-review.googlesource.com/c/go/+/385176 Trust: Michael Matloob <matloob@golang.org> Run-TryBot: Michael Matloob <matloob@golang.org> Reviewed-by:Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Loading
Please sign in to comment