diff options
| author | Julie Qiu <julie@golang.org> | 2021-05-11 15:13:29 -0400 |
|---|---|---|
| committer | Julie Qiu <julie@golang.org> | 2021-05-12 20:28:05 +0000 |
| commit | 080753ead6aa7a72d96845f665a0b63d1e0ba560 (patch) | |
| tree | 4135b0357616b4cc249d21fa9452eb6a84e534f8 /internal/stdlib/stdlib.go | |
| parent | 8e9954ac196d735cdaf5c080d8afa4f07e760071 (diff) | |
| download | go-x-pkgsite-080753ead6aa7a72d96845f665a0b63d1e0ba560.tar.xz | |
internal: change stdlib source repo
The stdlib source repo is changed to https://cs.opensource.google/go/go.
Fixes golang/go#44832
Change-Id: Ie8060ab1cabccbcf9ff20c0eec42c243c1feaf9c
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/318873
Trust: Julie Qiu <julie@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Diffstat (limited to 'internal/stdlib/stdlib.go')
| -rw-r--r-- | internal/stdlib/stdlib.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/stdlib/stdlib.go b/internal/stdlib/stdlib.go index 4a251b71..19d09db8 100644 --- a/internal/stdlib/stdlib.go +++ b/internal/stdlib/stdlib.go @@ -164,7 +164,7 @@ func finalDigitsIndex(s string) int { const ( GoRepoURL = "https://go.googlesource.com/go" - GoSourceRepoURL = GoRepoURL + GoSourceRepoURL = "https://cs.opensource.google/go/go" ) // UseTestData determines whether to really clone the Go repo, or use @@ -247,7 +247,7 @@ func Versions() (_ []string, err error) { }) refs, err := re.List(&git.ListOptions{}) if err != nil { - return nil, err + return nil, fmt.Errorf("re.List: %v", err) } for _, r := range refs { refNames = append(refNames, r.Name()) |
