Skip to content

Commit 42b73da

Browse files
authored
Merge pull request #20 from RussellRollins/remove-extraneous-else
This return can be a fallthrough w/o an else.
2 parents 3e1d038 + 378255e commit 42b73da

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sizes/output.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,8 @@ func (l *item) levelOfConcern(t *table) (string, bool) {
194194
}
195195
if alert > 30 {
196196
return "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!", true
197-
} else {
198-
return stars[:int(alert)], true
199197
}
198+
return stars[:int(alert)], true
200199
}
201200

202201
type Threshold float64

0 commit comments

Comments
 (0)