From 3574c464400c4ab63808de80a8964bdc4cedf373 Mon Sep 17 00:00:00 2001 From: Minionguyjpro Date: Mon, 23 Dec 2024 15:17:05 +0100 Subject: [PATCH] Update index.js --- src/index.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/index.js b/src/index.js index f9a0f2e..e76c763 100644 --- a/src/index.js +++ b/src/index.js @@ -23,10 +23,8 @@ async function run() { const workspaceNotEmpty = (await fs.readdir(workspacePath)).length > 0; if (workspaceExists && workspaceNotEmpty) { - // Escaping quotes in the options array - const escapedOptions = options.map((str) => - str.replace(/(["'])/g, '$1')), - ); + + const escapedOptions = options.map(str => str.replace(/(["'])/g, '$1')); execFile( `${process.env["ProgramFiles(x86)"]}\\Inno Setup 6\\iscc.exe`,