Handle extensions input typo

This commit is contained in:
Shivam Mathur 2020-01-26 18:05:27 +05:30
parent fd2392db56
commit 4eeaf5f99e
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A
2 changed files with 2 additions and 0 deletions

1
dist/index.js vendored
View File

@ -2325,6 +2325,7 @@ function build(filename, version, os_version) {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, void 0, void 0, function* () {
// taking inputs // taking inputs
const extension_csv = (yield utils.getInput('extensions', false)) || const extension_csv = (yield utils.getInput('extensions', false)) ||
(yield utils.getInput('extension', false)) ||
(yield utils.getInput('extension-csv', false)); (yield utils.getInput('extension-csv', false));
const ini_values_csv = (yield utils.getInput('ini-values', false)) || const ini_values_csv = (yield utils.getInput('ini-values', false)) ||
(yield utils.getInput('ini-values-csv', false)); (yield utils.getInput('ini-values-csv', false));

View File

@ -22,6 +22,7 @@ export async function build(
// taking inputs // taking inputs
const extension_csv: string = const extension_csv: string =
(await utils.getInput('extensions', false)) || (await utils.getInput('extensions', false)) ||
(await utils.getInput('extension', false)) ||
(await utils.getInput('extension-csv', false)); (await utils.getInput('extension-csv', false));
const ini_values_csv: string = const ini_values_csv: string =
(await utils.getInput('ini-values', false)) || (await utils.getInput('ini-values', false)) ||