We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db94c9b commit 5cf296fCopy full SHA for 5cf296f
1 file changed
cmd/info.go
@@ -122,19 +122,17 @@ Show summary for a given account:
122
for v := range ch {
123
if v.Err != nil {
124
return v.Err
125
- } else {
126
- rows = append(rows, []string{v.Obj, strconv.Itoa(v.Count)})
127
}
+ rows = append(rows, []string{v.Obj, strconv.Itoa(v.Count)})
128
129
render.AsTable(out, heading, rows, renderOpts)
130
} else {
131
m := map[string]int{}
132
133
134
135
136
- m[v.Obj] = v.Count
137
+ m[v.Obj] = v.Count
138
139
jsonOutput := output{
140
AccountEntry: account,
0 commit comments