summaryrefslogtreecommitdiff
path: root/lib/textui
diff options
context:
space:
mode:
Diffstat (limited to 'lib/textui')
-rw-r--r--lib/textui/progress.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/textui/progress.go b/lib/textui/progress.go
index 56fda96..68d986f 100644
--- a/lib/textui/progress.go
+++ b/lib/textui/progress.go
@@ -56,6 +56,7 @@ func (p *Progress[T]) Done() {
}
func (p *Progress[T]) flush(force bool) {
+ //nolint:forcetypeassert // It wasn't worth it to me (yet?) to make a typed wrapper around atomic.Value.
cur := p.cur.Load().(T)
if !force && cur == p.oldStat {
return