diff --git a/packages/io/src/io.ts b/packages/io/src/io.ts index 027b164d..3b1452f4 100644 --- a/packages/io/src/io.ts +++ b/packages/io/src/io.ts @@ -165,6 +165,10 @@ export async function rmRF(inputPath: string): Promise { console.log(`stdout: ${data}`) }) + result.on('error', err => { + console.log(`error: ${err}, ${err.code}`) + }) + result.on('close', code => { console.log(`close: ${code}`) resolve(code)