1
0
mirror of https://github.com/golang/go synced 2024-11-17 21:54:49 -07:00

cmd/dist: fix typo

Change-Id: Ib5d7f3eadff03070043d52659af4312ee293c586
Reviewed-on: https://go-review.googlesource.com/c/go/+/244817
Reviewed-by: Alberto Donizetti <alb.donizetti@gmail.com>
Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
lufia 2020-07-26 19:04:37 +09:00 committed by Emmanuel Odeke
parent 407bf0ca67
commit 24ff2af65e

View File

@ -1209,7 +1209,7 @@ func timelog(op, name string) {
} }
i := strings.Index(s, " start") i := strings.Index(s, " start")
if i < 0 { if i < 0 {
log.Fatalf("time log %s does not begin with start line", os.Getenv("GOBULDTIMELOGFILE")) log.Fatalf("time log %s does not begin with start line", os.Getenv("GOBUILDTIMELOGFILE"))
} }
t, err := time.Parse(time.UnixDate, s[:i]) t, err := time.Parse(time.UnixDate, s[:i])
if err != nil { if err != nil {