mirror of
https://github.com/Jguer/yay
synced 2024-10-31 13:42:27 +00:00
Fixed bug where new version and old version were switched
This commit is contained in:
parent
2f2df47639
commit
0032d903ac
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue