mirror of
https://github.com/Minionguyjpro/Inno-Setup-Action
synced 2026-02-18 17:41:18 +01:00
Update index.js
This commit is contained in:
4
dist/index.js
vendored
4
dist/index.js
vendored
@@ -1,4 +1,5 @@
|
||||
const core = require('@actions/core');
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
const github = require('@actions/github');
|
||||
const { exit } = require('process');
|
||||
|
||||
@@ -14,6 +15,7 @@ exec(`"%PROGRAMFILES(X86)%\\Inno Setup 6\\iscc.exe" ${options} "${path}"`,
|
||||
console.log(stderr);
|
||||
}
|
||||
)} else {
|
||||
const code = 1;
|
||||
console.error('Error: this action is only supported on Windows!')
|
||||
code = 1; process.exit(code);
|
||||
process.exit(code);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user