diff --git a/lib/main.js b/lib/main.js index 083cb6d..24aecf5 100644 --- a/lib/main.js +++ b/lib/main.js @@ -63,7 +63,7 @@ function run() { else { // the *entire* stdout and stderr (buffered) console.log(`stdout: ${stdout}`); - myOutput = stdout; + myOutput = `${stdout}`; console.log(`stderr: ${stderr}`); } }); diff --git a/src/main.ts b/src/main.ts index d38295d..77656ee 100644 --- a/src/main.ts +++ b/src/main.ts @@ -70,7 +70,7 @@ async function run() { } else { // the *entire* stdout and stderr (buffered) console.log(`stdout: ${stdout}`); - myOutput = stdout; + myOutput = `${stdout}`; console.log(`stderr: ${stderr}`); } });