Skip to content

Commit

Permalink
Fix download progress bar (not always displayed) (arduino#1980)
Browse files Browse the repository at this point in the history
* Fix download progress bar (not always displayed)

* Remove debug leftovers
  • Loading branch information
cmaglie authored Nov 16, 2022
1 parent 8e1e16b commit 1fb5d14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/output/rpc_progress.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ func NewDownloadProgressBarCB() func(*rpc.DownloadProgress) {
mux.Lock()
defer mux.Unlock()

// fmt.Printf(">>> %v\n", curr)
if start := curr.GetStart(); start != nil {
label = start.GetLabel()
bar = pb.New(0)
Expand All @@ -89,6 +88,7 @@ func NewDownloadProgressBarCB() func(*rpc.DownloadProgress) {
} else {
feedback.Print(label + " " + msg)
}
started = false
}
}
}
Expand Down

0 comments on commit 1fb5d14

Please sign in to comment.