fix(upgrades): don't include makedeps into -Qu/a (#2085)

don't include makedeps into -Qu/a
This commit is contained in:
Jo authored and GitHub committed 2023-04-06 16:32:22 +00:00
1 parent ce0cb35510
commit 2d7297ae6d
1 file changed
+4
+4
View File
@@ -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