chore: just force the type for now to see if it works

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2022-04-06 14:30:00 +02:00
parent f4fd7f5400
commit 4bfde894e0
+2 -10
View File
@@ -373,11 +373,7 @@ 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) => {
if (!startApp.pid) {
res();
return;
}
killTree(startApp.pid, err => (err ? rej(err) : res()));
killTree(startApp.pid!, err => (err ? rej(err) : res()));
});
}
@@ -482,11 +478,7 @@ async function testBackendStart(appDir: string, isPostgres: boolean) {
print('Stopping the child process');
// Kill entire process group, otherwise we'll end up with hanging serve processes
await new Promise<void>((res, rej) => {
if (!child.pid) {
res();
return;
}
killTree(child.pid, err => (err ? rej(err) : res()));
killTree(child.pid!, err => (err ? rej(err) : res()));
});
}