From 224126057d3129b0910f779ba0ad020b3104b35c Mon Sep 17 00:00:00 2001 From: Minionguyjpro Date: Mon, 11 Dec 2023 15:23:21 +0100 Subject: [PATCH] Update index.js --- dist/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 8998db6..0efcd4a 100644 --- a/dist/index.js +++ b/dist/index.js @@ -10,7 +10,7 @@ const path = core.getInput('path'); var exec = require('child_process').exec; if (process.platform === 'win32') { - if (workspacePath) { + if (workspacePath && workspacePath.trim() !== '') { exec(`"%PROGRAMFILES(X86)%\\Inno Setup 6\\iscc.exe" ${options} "${workspacePath}\\${path}"`, { stdio: 'ignore' }, function (error, stdout, stderr) { console.log(stdout); console.log(stderr);