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

match -Qu return
This commit is contained in:
Jo authored and GitHub committed 2023-02-21 02:00:39 +00:00
1 parent 096ff7a544
commit a3d51a42da
1 file changed
+4
+4
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") {