From f74a4f33b58d394e1c80cd8b797dfbe5d0d91421 Mon Sep 17 00:00:00 2001 From: J Guerreiro Date: Mon, 8 Oct 2018 11:51:19 +0100 Subject: [PATCH] Revert "Don't show missing packages if they are ignored. Closes #752" --- print.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/print.go b/print.go index 347011d1..c47e52a4 100644 --- a/print.go +++ b/print.go @@ -19,15 +19,6 @@ const arrow = "==>" const smallArrow = " ->" func (warnings *aurWarnings) print() { - for _, ignored := range pacmanConf.IgnorePkg { - for i, name := range warnings.Missing { - if ignored == name { - warnings.Missing[i] = warnings.Missing[len(warnings.Missing)-1] - warnings.Missing = warnings.Missing[:len(warnings.Missing)-1] - } - } - } - if len(warnings.Missing) > 0 { fmt.Print(bold(yellow(smallArrow)) + " Missing AUR Packages:") for _, name := range warnings.Missing {