From ae095094f732a512f67dcd2455e3bfb0014f902c Mon Sep 17 00:00:00 2001 From: Paul Hatcherian <1835615+PaulHatch@users.noreply.github.com> Date: Tue, 6 Oct 2020 21:29:12 -0400 Subject: [PATCH] Revert args mode --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 4c17069..29a6684 100644 --- a/index.js +++ b/index.js @@ -14,7 +14,7 @@ const cmd = async (command, ...args) => { stderr: (data) => { errors += data.toString(); } }; - await exec.exec(command + args.map(a => ` ${a}`).join(' '), [], options) + await exec.exec(command, args, options) .catch(err => { core.info(`The command '${command} ${args.join(' ')}' failed: ${err}`); }); if (errors !== '') {