build: missing newline when printing build details on error

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2023-06-29 00:18:23 +02:00
parent 2eba60db75
commit d45601fdc6
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
1 changed files with 1 additions and 1 deletions

View File

@ -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
}