fix(upgrades): don't include makedeps into -Qu/a (#2085)
don't include makedeps into -Qu/a
This commit is contained in:
1 file changed
+4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user