build: missing newline when printing build details on error

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
(cherry picked from commit d45601fdc6)
pull/1926/head
CrazyMax 2 years ago
parent 3702e17ed5
commit 47e4c2576b
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7

@ -81,6 +81,6 @@ func (e *ErrorWithBuildRef) Print(w io.Writer) error {
if _, err := console.ConsoleFromFile(os.Stderr); err == nil {
term = true
}
fmt.Fprintf(w, "\n%s", BuildDetailsOutput(map[string]string{"default": e.Ref}, term))
fmt.Fprintf(w, "\n%s\n", BuildDetailsOutput(map[string]string{"default": e.Ref}, term))
return nil
}

Loading…
Cancel
Save