Browse code

pkg/jsonmessage: normalize comment formatting

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2019/11/27 23:40:39
Showing 1 changed files
... ...
@@ -178,7 +178,7 @@ func (jm *JSONMessage) Display(out io.Writer, isTerminal bool) error {
178 178
 		clearLine(out)
179 179
 		endl = "\r"
180 180
 		fmt.Fprint(out, endl)
181
-	} else if jm.Progress != nil && jm.Progress.String() != "" { //disable progressbar in non-terminal
181
+	} else if jm.Progress != nil && jm.Progress.String() != "" { // disable progressbar in non-terminal
182 182
 		return nil
183 183
 	}
184 184
 	if jm.TimeNano != 0 {