Skip to content

Commit 86bc2cd

Browse files
committed
internal/flags: fix linter
1 parent 636c64c commit 86bc2cd

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

internal/flags/helpers.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -180,13 +180,6 @@ func FlagString(f cli.Flag) string {
180180
}
181181
}
182182

183-
func pad(s string, length int) string {
184-
if len(s) < length {
185-
s += strings.Repeat(" ", length-len(s))
186-
}
187-
return s
188-
}
189-
190183
func indent(s string, nspace int) string {
191184
ind := strings.Repeat(" ", nspace)
192185
return ind + strings.ReplaceAll(s, "\n", "\n"+ind)

0 commit comments

Comments
 (0)