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
The effect of the missing check is that when -mod=vendor is not set, running go build or go test with an empty directory path beginning with ./vendor causes the go command to resolve and download the corresponding module, ignoring the contents of the vendor directory.
There is a TODO here yet to be done:
go/src/cmd/go/internal/modload/load.go
Lines 110 to 112 in b412fde
The effect of the missing check is that when
-mod=vendor
is not set, runninggo build
orgo test
with an empty directory path beginning with./vendor
causes thego
command to resolve and download the corresponding module, ignoring the contents of thevendor
directory.(Found while investigating #32917.)
The text was updated successfully, but these errors were encountered: