fix(yay): match -Qu return (#1924)

match -Qu return
This commit is contained in:
Jo
2023-02-21 03:00:39 +01:00
committed by GitHub
parent 096ff7a544
commit a3d51a42da

View File

@@ -130,6 +130,10 @@ func printUpdateList(ctx context.Context, cmdArgs *parser.Arguments,
return err
}
if (len(aurUp.Up) + len(repoUp.Up)) == 0 {
return fmt.Errorf("")
}
noTargets := len(targets) == 0
if !cmdArgs.ExistsArg("m", "foreign") {