[ci] format
This commit is contained in:
parent
faeead4232
commit
0352dec47b
3 changed files with 11 additions and 7 deletions
|
@ -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');
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue