From 0032d903ac2774358bd6faf0fc787bc86514e7c2 Mon Sep 17 00:00:00 2001 From: Jguer Date: Fri, 2 Dec 2016 13:34:14 +0000 Subject: [PATCH] Fixed bug where new version and old version were switched --- aur/aur.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aur/aur.go b/aur/aur.go index 98adbfbb..de27f7d6 100644 --- a/aur/aur.go +++ b/aur/aur.go @@ -205,7 +205,7 @@ func Upgrade(baseDir string, flags []string) error { // Leaving this here for now, warn about downgrades later if res.LastModified > foreign[res.Name].Date { fmt.Printf("\x1b[1m\x1b[32m==>\x1b[33;1m %s: \x1b[0m%s \x1b[33;1m-> \x1b[0m%s\n", - res.Name, res.Version, foreign[res.Name].Version) + res.Name, foreign[res.Name].Version, res.Version) outdated = append(outdated, res) } }