bash automation stdout

This commit is contained in:
Martin McKeaveney 2021-09-17 14:39:31 +01:00
parent 596c953c24
commit c2c5d70b89
1 changed files with 1 additions and 1 deletions

View File

@ -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
}