Fix test-publish CI test when no packages exist to publish
This commit is contained in:
parent
b86473f3c7
commit
398097900c
@ -76,6 +76,7 @@ export const utils = {
|
||||
return updatedPackages;
|
||||
},
|
||||
async getLernaUpdatedPackagesAsync(shouldIncludePrivate: boolean): Promise<UpdatedPackage[]> {
|
||||
try {
|
||||
const result = await execAsync(`${constants.lernaExecutable} updated --json`, {
|
||||
cwd: constants.monorepoRootPath,
|
||||
});
|
||||
@ -88,6 +89,9 @@ export const utils = {
|
||||
return updatedPublicPackages;
|
||||
}
|
||||
return updatedPackages;
|
||||
} catch (err) {
|
||||
return [];
|
||||
}
|
||||
},
|
||||
async getNextPackageVersionAsync(
|
||||
currentVersion: string,
|
||||
|
Loading…
x
Reference in New Issue
Block a user