From 84b2e4772b3929ed01399329550731655494cbf0 Mon Sep 17 00:00:00 2001 From: Blake Friedman Date: Wed, 16 Oct 2024 00:21:17 +0100 Subject: [PATCH] [CI] fix publish template execSync called with incorrect args. Changelog: [Internal] --- .github/workflow-scripts/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;