Merge pull request #17434 from little-arhat/fix/newlines-in-json-status
Add newlines to FormatProgress for JSON as well
This commit is contained in:
commit
0e3ab50833
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ func (sf *StreamFormatter) FormatProgress(id, action string, progress *jsonmessa
|
|||
if err != nil {
|
||||
return nil
|
||||
}
|
||||
return b
|
||||
return append(b, streamNewlineBytes...)
|
||||
}
|
||||
endl := "\r"
|
||||
if progress.String() == "" {
|
||||
|
|
Loading…
Reference in a new issue