fix(deps): update module github.com/vbauerster/mpb/v8 to v8.9.2

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2025-02-07 12:39:09 +00:00
committed by GitHub
parent 2cbb5fead9
commit 1d4c67751c
7 changed files with 33 additions and 34 deletions

View File

@@ -117,7 +117,7 @@ func (b *Bar) ProxyWriter(w io.Writer) io.WriteCloser {
}
}
// ID returs id of the bar.
// ID returns id of the bar.
func (b *Bar) ID() int {
result := make(chan int)
select {
@@ -180,7 +180,7 @@ func (b *Bar) TraverseDecorators(cb func(decor.Decorator)) {
}
// EnableTriggerComplete enables triggering complete event. It's effective
// only for bars which were constructed with `total <= 0`. If `curren >= total`
// only for bars which were constructed with `total <= 0`. If `current >= total`
// at the moment of call, complete event is triggered right away.
func (b *Bar) EnableTriggerComplete() {
select {
@@ -493,7 +493,7 @@ func (b *Bar) wSyncTable() syncTable {
func (s *bState) draw(stat decor.Statistics) (_ io.Reader, err error) {
decorFiller := func(buf *bytes.Buffer, decorators []decor.Decorator) (err error) {
for _, d := range decorators {
// need to call Decor in any case becase of width synchronization
// need to call Decor in any case because of width synchronization
str, width := d.Decor(stat)
if err != nil {
continue