Skip to content

Commit 9185579

Browse files
committed
cmd/api: skip api checks
The version of cmd/api on the release-go1.4 branch thinks the go.tools repo lives at code.google.com. There's no point in fixing it; disable it. Change-Id: Ieb189b1286b86b1d49a264548ee262301c95b014 Reviewed-on: https://go-review.googlesource.com/31752 Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 02118ad commit 9185579

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/cmd/api/run.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ const goToolsVersion = "6698ca2900e2"
3333
var goroot string
3434

3535
func main() {
36+
// Go 1.4 will never have new API, and the code below has bit-rotted.
37+
fmt.Println("Skipping cmd/api checks")
38+
return
39+
3640
log.SetFlags(0)
3741
goroot = os.Getenv("GOROOT") // should be set by run.{bash,bat}
3842
if goroot == "" {

0 commit comments

Comments
 (0)