This commit is contained in:
Twacqwq 2025-06-20 15:30:36 -04:00 committed by GitHub
commit fcfe2e6cb4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -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)
}