cli: skip testinging of repo test --since matches nothing
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -101,6 +101,12 @@ export async function command(opts: OptionValues, cmd: Command): Promise<void> {
|
||||
pkg => pkg.allLocalDependents.keys(),
|
||||
),
|
||||
);
|
||||
|
||||
if (packageNames.length === 0) {
|
||||
console.log(`No packages changed since ${opts.since}`);
|
||||
return;
|
||||
}
|
||||
|
||||
args.push('--selectProjects', ...packageNames);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user