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 }