Merge pull request #13757 from backstage/rugvip/nochange

cli: skip testinging of repo test --since matches nothing
This commit is contained in:
Patrik Oldsberg
2022-09-21 10:09:39 +02:00
committed by GitHub
+6
View File
@@ -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);
}