From 38b568061977e80e400d63e9b013b3cfb1697799 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Sun, 8 Apr 2018 01:20:15 +0300 Subject: [PATCH] Fix `make test` (`gofmt` threw "Files need to be linted") --- upgrade.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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) {