[ci] format
This commit is contained in:
parent
04755e8465
commit
76a2ba270d
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ export async function shell(
|
||||||
timeout: opts.timeout,
|
timeout: opts.timeout,
|
||||||
});
|
});
|
||||||
const done = new Promise((resolve) => child.on('close', resolve));
|
const done = new Promise((resolve) => child.on('close', resolve));
|
||||||
([stdout, stderr] = await Promise.all([text(child.stdout), text(child.stderr)]));
|
[stdout, stderr] = await Promise.all([text(child.stdout), text(child.stderr)]);
|
||||||
await done;
|
await done;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
throw { stdout, stderr, exitCode: 1 };
|
throw { stdout, stderr, exitCode: 1 };
|
||||||
|
|
Loading…
Reference in a new issue