diff --git a/upgrade.go b/upgrade.go index e17a55d2..a4c0b70f 100644 --- a/upgrade.go +++ b/upgrade.go @@ -55,12 +55,12 @@ func (u upSlice) Less(i, j int) bool { if found != nil { return less - } else { - iRunes := []rune(u[i].Repository) - jRunes := []rune(u[j].Repository) - return lessRunes(iRunes, jRunes) } + iRunes := []rune(u[i].Repository) + jRunes := []rune(u[j].Repository) + return lessRunes(iRunes, jRunes) + } func getVersionDiff(oldVersion, newversion string) (left, right string) {