chore(merge): branch 'master' into v2-tidy

This commit is contained in:
Christian Rocha
2024-10-24 13:11:39 -04:00
11 changed files with 43 additions and 41 deletions
+1 -1
View File
@@ -340,7 +340,7 @@ func (m Model) percentageView(percent float64) string {
return ""
}
percent = math.Max(0, math.Min(1, percent))
percentage := fmt.Sprintf(m.PercentFormat, percent*100) //nolint:gomnd
percentage := fmt.Sprintf(m.PercentFormat, percent*100) //nolint:mnd
percentage = m.PercentageStyle.Inline(true).Render(percentage)
return percentage
}