mirror of
https://github.com/Jguer/yay
synced 2024-08-31 05:39:29 +00:00
Merge pull request #757 from Jguer/revert-756-fix-#752
Revert "Don't show missing packages if they are ignored. Closes #752"
This commit is contained in:
commit
e316c979cc
9
print.go
9
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 {
|
||||
|
|
Loading…
Reference in a new issue