Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: allow go mod download without go.mod #29522
There's no need for go.mod to be present for go mod download to work.
This affects development of module proxies and notaries and should be fixed (assuming it is trivial) for Go 1.12.
The CL 148517 is a big change.
Although I submit a test case, the test script engine can't reproduce this issue. Because the engine uses a proxy.
on my laptop:
The test print before fix: