From c2c5d70b895b2ca9c8a067b5bbea6c722de8d8eb Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Fri, 17 Sep 2021 14:39:31 +0100 Subject: [PATCH] bash automation stdout --- packages/server/src/automations/steps/bash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/automations/steps/bash.js b/packages/server/src/automations/steps/bash.js index 76d6713c5b..e7ec79093c 100644 --- a/packages/server/src/automations/steps/bash.js +++ b/packages/server/src/automations/steps/bash.js @@ -44,7 +44,7 @@ module.exports.run = async function ({ inputs, context }) { let stdout try { - stdout = execSync(command, { timeout: 500 }) + stdout = execSync(command, { timeout: 500 }).toString() } catch (err) { stdout = err.message }