From e1acd854f754f496be341211e9deee53fc7e3404 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 15 Feb 2019 13:00:03 -0800 Subject: [PATCH] cmd/go: add newline after module-requires-version message Fixes #30263 Change-Id: Iefb3d8baf815c19eaf915a59048e1da799ca0cdf Reviewed-on: https://go-review.googlesource.com/c/162957 Run-TryBot: Ian Lance Taylor TryBot-Result: Gobot Gobot Reviewed-by: Brad Fitzpatrick Reviewed-by: Bryan C. Mills --- src/cmd/go/internal/work/exec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go index baa5872687..bbcbdd7568 100644 --- a/src/cmd/go/internal/work/exec.go +++ b/src/cmd/go/internal/work/exec.go @@ -655,7 +655,7 @@ func (b *Builder) build(a *Action) (err error) { if len(out) > 0 { output := b.processOutput(out) if p.Module != nil && !allowedVersion(p.Module.GoVersion) { - output += "note: module requires Go " + p.Module.GoVersion + output += "note: module requires Go " + p.Module.GoVersion + "\n" } b.showOutput(a, a.Package.Dir, a.Package.Desc(), output) if err != nil {