More linter...
This commit is contained in:
parent
e7f3554c62
commit
a145819004
@ -341,9 +341,9 @@ var rollupDealStatsCmd = &cli.Command{
|
|||||||
|
|
||||||
defer outListFd.Close() //nolint:errcheck
|
defer outListFd.Close() //nolint:errcheck
|
||||||
|
|
||||||
|
ridiculousLintMandatedRebind := dl
|
||||||
sort.Slice(dl, func(i, j int) bool {
|
sort.Slice(dl, func(i, j int) bool {
|
||||||
dl := dl
|
return ridiculousLintMandatedRebind[j].PaddedSize < ridiculousLintMandatedRebind[i].PaddedSize
|
||||||
return dl[j].PaddedSize < dl[i].PaddedSize
|
|
||||||
})
|
})
|
||||||
|
|
||||||
if err := json.NewEncoder(outListFd).Encode(
|
if err := json.NewEncoder(outListFd).Encode(
|
||||||
|
Loading…
Reference in New Issue
Block a user