From 291611cab5cdc01a21560f0f8c14d51bc014838f Mon Sep 17 00:00:00 2001 From: Minionguyjpro Date: Mon, 23 Dec 2024 10:09:05 +0100 Subject: [PATCH] Update index.js --- src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index bf30244..96933c1 100644 --- a/src/index.js +++ b/src/index.js @@ -3,7 +3,7 @@ const fs = require("fs").promises; const { execFile } = require("child_process"); const workspacePath = process.env.GITHUB_WORKSPACE; -const options = core.getMultilineInput("options").join(" "); +const options = core.getMultilineInput("options"); const path = core.getInput("path"); let repoError; @@ -25,7 +25,7 @@ async function run() { if (workspaceExists && workspaceNotEmpty) { execFile( `${process.env["ProgramFiles(x86)"]}\\Inno Setup 6\\iscc.exe`, - [options, `${workspacePath}\\${path}`], + [...options, `${workspacePath}\\${path}`], (execError, stdout, stderr) => { console.log(stdout); if (execError) {