chore: linter: intrange

Signed-off-by: Jakob Borg <jakob@kastelo.net>
This commit is contained in:
Jakob Borg
2025-10-21 08:36:42 +02:00
parent 465804161b
commit a1069a0d70
16 changed files with 22 additions and 22 deletions

View File

@@ -337,7 +337,7 @@ func formatOptionalPercentS(template string, username string) string {
if nReps < 0 {
nReps = 0
}
for i := 0; i < nReps; i++ {
for range nReps {
replacements = append(replacements, username)
}
return fmt.Sprintf(template, replacements...)