[ci] format

This commit is contained in:
ematipico 2023-09-22 15:00:18 +00:00 committed by astrobot-houston
parent faeead4232
commit 0352dec47b
3 changed files with 11 additions and 7 deletions

View file

@ -41,7 +41,11 @@ export async function runCLI(
let cli; let cli;
let lastErr; let lastErr;
while (triesRemaining > 0) { while (triesRemaining > 0) {
cli = await tryRunCLI(basePath, { silent, timeout, forceRotatePort: triesRemaining !== maxAttempts }); cli = await tryRunCLI(basePath, {
silent,
timeout,
forceRotatePort: triesRemaining !== maxAttempts,
});
try { try {
await cli.ready; await cli.ready;
return cli; return cli;
@ -148,7 +152,7 @@ const isPortOpen = async (port) => {
resolve(true); resolve(true);
s.close(); s.close();
}); });
s.listen(port, "0.0.0.0"); s.listen(port, '0.0.0.0');
}); });
}; };