This commit is contained in:
Florian Dold 2021-08-04 22:32:23 +02:00
parent 04e7315d4d
commit 3ca05c0906
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -103,7 +103,9 @@ export async function sh(
}
});
proc.on("exit", (code, signal) => {
if (code != 0 && context.verbose) {
console.log(`child process exited (${code} / ${signal})`);
}
const bOut = Buffer.concat(stdoutChunks).toString("utf-8");
const bErr = Buffer.concat(stderrChunks).toString("utf-8");
resolve({