mirror of
https://github.com/Minionguyjpro/Inno-Setup-Action
synced 2026-02-18 09:31:19 +01:00
Update index.js
This commit is contained in:
4
dist/index.js
vendored
4
dist/index.js
vendored
@@ -15,6 +15,10 @@ if (process.platform === 'win32') {
|
|||||||
exec(`"%PROGRAMFILES(X86)%\\Inno Setup 6\\iscc.exe" ${options} "${workspacePath}\\${path}"`, function (error, stdout, stderr) {
|
exec(`"%PROGRAMFILES(X86)%\\Inno Setup 6\\iscc.exe" ${options} "${workspacePath}\\${path}"`, function (error, stdout, stderr) {
|
||||||
console.log(stdout);
|
console.log(stdout);
|
||||||
console.log(stderr);
|
console.log(stderr);
|
||||||
|
if (error) {
|
||||||
|
const code = error.code || 1;
|
||||||
|
process.exit(code);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
const code = 1;
|
const code = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user