mirror of
https://github.com/Jguer/yay
synced 2024-09-06 08:33:20 +00:00
fix(upgrades): don't include makedeps into -Qu/a (#2085)
don't include makedeps into -Qu/a
This commit is contained in:
parent
ce0cb35510
commit
2d7297ae6d
4
print.go
4
print.go
|
@ -132,6 +132,10 @@ func printUpdateList(ctx context.Context, cfg *settings.Configuration, cmdArgs *
|
|||
nativeFilter := cmdArgs.ExistsArg("n", "native")
|
||||
|
||||
_ = graph.ForEach(func(pkgName string, ii *dep.InstallInfo) error {
|
||||
if !ii.Upgrade {
|
||||
return nil
|
||||
}
|
||||
|
||||
if noTargets || targets.Contains(pkgName) {
|
||||
if ii.Source == dep.Sync && foreignFilter {
|
||||
return nil
|
||||
|
|
Loading…
Reference in a new issue