go mod verify
should consider the vendor directory instead of only the modules cache
#48420
Labels
go mod verify
should consider the vendor directory instead of only the modules cache
#48420
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
wrote some go code with third party dependencies.
initialized go module
performed
go mod download
hand edited a go file under the vendor directory and added a new function
ran
go mod verify
What did you expect to see?
An error that the contents of my dependency didn't match it's hash
What did you see instead?
The text was updated successfully, but these errors were encountered: