mirror of https://github.com/golang/go.git
Merge 77c89b2654 into 49cdf0c42e
This commit is contained in:
commit
fcfe2e6cb4
|
|
@ -232,6 +232,9 @@ func DownloadZip(ctx context.Context, mod module.Version) (zipfile string, err e
|
|||
vers = vers[:i] + " (" + goos + "/" + goarch + ")"
|
||||
}
|
||||
fmt.Fprintf(os.Stderr, "go: downloading %s\n", vers)
|
||||
}
|
||||
if strings.Contains(cfg.GOPROXY, "file://") {
|
||||
fmt.Fprintf(os.Stderr, "go: copying %s %s\n", mod.Path, vers)
|
||||
} else {
|
||||
fmt.Fprintf(os.Stderr, "go: downloading %s %s\n", mod.Path, vers)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue