From 0381c30320b7ed1eb3219d51c8727a3dd2e1c363 Mon Sep 17 00:00:00 2001 From: Minionguyjpro Date: Mon, 11 Dec 2023 16:23:35 +0100 Subject: [PATCH] Update index.js --- dist/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 606dcb5..03f983a 100644 --- a/dist/index.js +++ b/dist/index.js @@ -8,7 +8,8 @@ const path = core.getInput('path'); if (process.platform === 'win32') { try { if (fs.existsSync(workspacePath) && fs.readdirSync(workspacePath).length > 0) { - const { stderr } = require('child_process').execSync(`"%PROGRAMFILES(X86)%\\Inno Setup 6\\iscc.exe" ${options} "${workspacePath}\\${path}"`, { stdio: 'inherit' }); + const { stdout, stderr } = require('child_process').execSync(`"%PROGRAMFILES(X86)%\\Inno Setup 6\\iscc.exe" ${options} "${workspacePath}\\${path}"`, { stdio: 'pipe' }); + console.log(stdout); if (stderr) { throw new Error(stderr); }