[ci] format

This commit is contained in:
natemoo-re 2023-08-15 17:27:28 +00:00 committed by astrobot-houston
parent 04755e8465
commit 76a2ba270d

View file

@ -35,7 +35,7 @@ export async function shell(
timeout: opts.timeout,
});
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;
} catch (e) {
throw { stdout, stderr, exitCode: 1 };