Skip to content

Commit

Permalink
Make linter happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
taeold committed Nov 1, 2023
1 parent 259c40c commit 2de68a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/bin-test/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,15 +138,15 @@ async function startBin(
port,
cleanup: async () => {
process.kill(proc.pid, 9);
await retryUntil(async () => {
await retryUntil(() => {
try {
process.kill(proc.pid, 0);
} catch {
// process.kill w/ signal 0 will throw an error if the pid no longer exists.
console.log("Cleaned up admin server");
return true;
return Promise.resolve(true);
}
return false;
return Promise.resolve(false);
}, TIMEOUT_S);
},
};
Expand Down

0 comments on commit 2de68a1

Please sign in to comment.