Commit 020637da authored by Michael Matloob's avatar Michael Matloob Committed by Brad Fitzpatrick

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/3022Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent fd2642bf
...@@ -27,6 +27,7 @@ func mkzversion(dir, file string) { ...@@ -27,6 +27,7 @@ func mkzversion(dir, file string) {
"\n"+ "\n"+
"const defaultGoroot = `%s`\n"+ "const defaultGoroot = `%s`\n"+
"const theVersion = `%s`\n"+ "const theVersion = `%s`\n"+
"\n"+
"var buildVersion = theVersion\n", goroot_final, goversion) "var buildVersion = theVersion\n", goroot_final, goversion)
writefile(out, file, 0) writefile(out, file, 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment