pkg/jsonmessage: normalize comment formatting
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
a45b3a92f6
commit
0b155db389
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ func (jm *JSONMessage) Display(out io.Writer, isTerminal bool) error {
|
||||||
clearLine(out)
|
clearLine(out)
|
||||||
endl = "\r"
|
endl = "\r"
|
||||||
fmt.Fprint(out, endl)
|
fmt.Fprint(out, endl)
|
||||||
} else if jm.Progress != nil && jm.Progress.String() != "" { //disable progressbar in non-terminal
|
} else if jm.Progress != nil && jm.Progress.String() != "" { // disable progressbar in non-terminal
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
if jm.TimeNano != 0 {
|
if jm.TimeNano != 0 {
|
||||||
|
|
Loading…
Reference in a new issue