Skip to content

Commit e1acd85

Browse files
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 <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]>
1 parent 5fcc240 commit e1acd85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd/go/internal/work/exec.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ func (b *Builder) build(a *Action) (err error) {
655655
if len(out) > 0 {
656656
output := b.processOutput(out)
657657
if p.Module != nil && !allowedVersion(p.Module.GoVersion) {
658-
output += "note: module requires Go " + p.Module.GoVersion
658+
output += "note: module requires Go " + p.Module.GoVersion + "\n"
659659
}
660660
b.showOutput(a, a.Package.Dir, a.Package.Desc(), output)
661661
if err != nil {

0 commit comments

Comments
 (0)