chore: fixing the version numbers

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2022-04-04 15:59:40 +02:00
parent 1cd678be2b
commit f4fd7f5400
69 changed files with 82 additions and 76 deletions
+1 -1
View File
@@ -32,7 +32,7 @@
"@backstage/cli-common": "^0.1.8",
"@backstage/errors": "^1.0.0",
"@types/fs-extra": "^9.0.1",
"@types/node": "^16.x",
"@types/node": "^16.11.26",
"@types/puppeteer": "^5.4.4",
"chalk": "^4.0.0",
"commander": "^6.1.0",
+14 -8
View File
@@ -372,10 +372,13 @@ async function testAppServe(pluginName: string, appDir: string) {
}
} finally {
// Kill entire process group, otherwise we'll end up with hanging serve processes
await new Promise<void>(
(res, rej) =>
startApp.pid && killTree(startApp.pid, err => (err ? rej(err) : res())),
);
await new Promise<void>((res, rej) => {
if (!startApp.pid) {
res();
return;
}
killTree(startApp.pid, err => (err ? rej(err) : res()));
});
}
try {
@@ -478,10 +481,13 @@ async function testBackendStart(appDir: string, isPostgres: boolean) {
} finally {
print('Stopping the child process');
// Kill entire process group, otherwise we'll end up with hanging serve processes
await new Promise<void>(
(res, rej) =>
child.pid && killTree(child.pid, err => (err ? rej(err) : res())),
);
await new Promise<void>((res, rej) => {
if (!child.pid) {
res();
return;
}
killTree(child.pid, err => (err ? rej(err) : res()));
});
}
try {