core/commands: Fixed 'add' progress bar sometimes not clearing progress bar output line
Matt Bell committed
Jan 21, 2015 at 19:49 UTC
2363cb63e606a26d347565a2de36c109d1db3bc8
1 file changed
+2
core/commands/add.go
+2
@@ -168,7 +168,9 @@ remains to be implemented.
168
lastBytes = output.Bytes
169
delta := prevFiles + lastBytes - totalProgress
170
totalProgress = bar.Add64(delta)
171
+ }
172
173
+ if showProgressBar {
174
bar.Update()
175
}
176
}