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
Very similar to #27005, I think a go mod vendor -check that returns non-zero when it would make any changes to vendor/ directory would be useful in pre-commit hooks and CIs.
Things that could be different from go mod tidy -check are:
Unlike go mod tidy -check, this likely requires network access to work
This might be more go version dependent? I think the vendor/modules.txt file are different between 1.15 and 1.14, not sure if this will cause problems with proposed go mod vendor -check.
The text was updated successfully, but these errors were encountered:
Very similar to #27005, I think a
go mod vendor -check
that returns non-zero when it would make any changes tovendor/
directory would be useful in pre-commit hooks and CIs.Things that could be different from
go mod tidy -check
are:go mod tidy -check
, this likely requires network access to workvendor/modules.txt
file are different between 1.15 and 1.14, not sure if this will cause problems with proposedgo mod vendor -check
.The text was updated successfully, but these errors were encountered: