You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Module vendoring is ignored in workspace mode because it is not clear which modules' vendor directories should be respected if there are multiple workpace modules with vendor directories containing the same dependencies.
What did you see instead?
$ go build
Fake library is used
Explicitly specifying -mod=readonly (which theoretically is the only option value compatible with workspace mode):
$ go build -mod=readonly
The text was updated successfully, but these errors were encountered:
Workspaces with a single module would enter mod=vendor mode even when
in workspace mode. Fix that by explicitly checking that we're not in
workspace mode when deciding whether to enter vendor mode.
TryBot-Result: Gopher Robot <email@example.com>
Reviewed-by: Bryan Mills <firstname.lastname@example.org>
Run-TryBot: Michael Matloob <email@example.com>