Include diagnostic prefix in the output for the diff display. (#2132)
This commit is contained in:
parent
9b1c2ff54d
commit
73b42d753b
|
@ -148,7 +148,7 @@ func renderDiffDiagEvent(payload engine.DiagEventPayload, opts Options) string {
|
|||
if payload.Severity == diag.Debug && !opts.Debug {
|
||||
return ""
|
||||
}
|
||||
return opts.Color.Colorize(payload.Message)
|
||||
return opts.Color.Colorize(payload.Prefix + payload.Message)
|
||||
}
|
||||
|
||||
func renderStdoutColorEvent(payload engine.StdoutEventPayload, opts Options) string {
|
||||
|
|
Loading…
Reference in a new issue