From 4abddaab66fc5a335439a5d115c9f616cbc6a860 Mon Sep 17 00:00:00 2001 From: Jguer Date: Mon, 15 Jan 2018 02:23:29 +0900 Subject: [PATCH] Satisfied linter --- upgrade.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/upgrade.go b/upgrade.go index 8c0ed41d..c4725c77 100644 --- a/upgrade.go +++ b/upgrade.go @@ -211,7 +211,7 @@ func upAUR(remote []alpm.Package, remoteNames []string) (toUpgrade upSlice, err fmt.Printf("\x1b[33mwarning:\x1b[0m %s ignoring package upgrade (%s => %s)\n", local[i].Name(), local[i].Version(), qtemp[x].Version) } else { packageC <- upgrade{qtemp[x].Name, "aur", local[i].Version(), qtemp[x].Version} - } + } } continue } else { @@ -320,12 +320,12 @@ func upgradePkgs(flags []string) error { } repoNames = append(repoNames, k.Name) } - + arguments := makeArguments() arguments.addArg("S", "noconfirm") arguments.addArg(flags...) arguments.addTarget(repoNames...) - + err := passToPacman(arguments) if err != nil { fmt.Println("Error upgrading repo packages.")