Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
all: recognize new error from go command when no go.mod is found
This change fixes x/tools tests before CL 298650 lands. After that CL, the go command reports a different error message when GO111MODULE=on and it is invoked without a go.mod file (with a command that requires a go.mod file). We plan to backport that change to 1.16. For golang/go#44745 Change-Id: Idb3e146828703c89f788ae660ffc95aef16433e4 Reviewed-on: https://go-review.googlesource.com/c/tools/+/298792 Trust: Jay Conrod <jayconrod@google.com> Reviewed-by: Peter Weinberger <pjw@google.com>
- Loading branch information