mirror of
https://github.com/golang/go
synced 2024-11-22 22:50:03 -07:00
cmd/dist: produce a properly formatted zversion.go
gofmt inserts a blank line line between const and var declarations Change-Id: I3f2ddbd9e66a74eb3f37a2fe641b93820b02229e Reviewed-on: https://go-review.googlesource.com/3022 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
fd2642bfe3
commit
020637daa9
1
src/cmd/dist/buildruntime.go
vendored
1
src/cmd/dist/buildruntime.go
vendored
@ -27,6 +27,7 @@ func mkzversion(dir, file string) {
|
||||
"\n"+
|
||||
"const defaultGoroot = `%s`\n"+
|
||||
"const theVersion = `%s`\n"+
|
||||
"\n"+
|
||||
"var buildVersion = theVersion\n", goroot_final, goversion)
|
||||
|
||||
writefile(out, file, 0)
|
||||
|
Loading…
Reference in New Issue
Block a user