mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
internal/flags: fix linter
This commit is contained in:
parent
636c64caa9
commit
86bc2cdf33
1 changed files with 0 additions and 7 deletions
|
|
@ -180,13 +180,6 @@ func FlagString(f cli.Flag) string {
|
|||
}
|
||||
}
|
||||
|
||||
func pad(s string, length int) string {
|
||||
if len(s) < length {
|
||||
s += strings.Repeat(" ", length-len(s))
|
||||
}
|
||||
return s
|
||||
}
|
||||
|
||||
func indent(s string, nspace int) string {
|
||||
ind := strings.Repeat(" ", nspace)
|
||||
return ind + strings.ReplaceAll(s, "\n", "\n"+ind)
|
||||
|
|
|
|||
Loading…
Reference in a new issue