]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: change link in error message from /wiki to /doc.
authorBryan C. Mills <bcmills@google.com>
Fri, 2 Jul 2021 20:41:22 +0000 (16:41 -0400)
committerBryan C. Mills <bcmills@google.com>
Wed, 14 Jul 2021 17:25:06 +0000 (17:25 +0000)
The /doc link is currently a redirect (CL 334389),
but I plan to update it soon with a more detailed guide.

Updates #36460

Change-Id: I9e4a47ad0c8bcb7361cfa3e5b9d07ad241b13ba6
Reviewed-on: https://go-review.googlesource.com/c/go/+/332573
Trust: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
src/cmd/go/internal/modload/load.go

index 771b142b73eaded680ee395c1a90e9b96948a2f0..bce9ad85f42e6c593724c6e05bbfb31db6b57521 100644 (file)
@@ -1808,7 +1808,7 @@ func (ld *loader) checkTidyCompatibility(ctx context.Context, rs *Requirements)
                fmt.Fprintf(os.Stderr, "If reproducibility with go %s is not needed:\n\tgo mod tidy%s -compat=%s\n", ld.TidyCompatibleVersion, goFlag, ld.GoVersion)
 
                // TODO(#46141): Populate the linked wiki page.
-               fmt.Fprintf(os.Stderr, "For other options, see:\n\thttps://golang.org/wiki/PruningModules\n")
+               fmt.Fprintf(os.Stderr, "For other options, see:\n\thttps://golang.org/doc/modules/pruning\n")
        }
 
        mg, err := rs.Graph(ctx)