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

This commit is contained in:
Christian Rocha
2024-10-24 15:22:16 -04:00
13 changed files with 49 additions and 45 deletions
+1 -1
View File
@@ -330,7 +330,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
}