diff --git a/.github/workflow-scripts/utils.js b/.github/workflow-scripts/utils.js index 1c2b8a5d1f8..ddbe2b210b8 100644 --- a/.github/workflow-scripts/utils.js +++ b/.github/workflow-scripts/utils.js @@ -9,7 +9,7 @@ const {execSync} = require('child_process'); -function run(...cmd) { +function run(cmd) { return execSync(cmd, 'utf8').toString().trim(); } module.exports.run = run;