We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0187695 commit e7b7bf0Copy full SHA for e7b7bf0
progress.go
@@ -77,7 +77,7 @@ func (p Progress) Percent() float64 {
77
if p.n == 0 {
78
return 0
79
}
80
- if p.n == p.size {
+ if p.n >= p.size {
81
return 100
82
83
return 100.0 / (p.size / p.n)
0 commit comments