Fix dict assembly

This commit is contained in:
Thorrak 2021-04-23 10:30:32 -04:00
parent 4ee978ae61
commit 9b11ac16a8

View File

@ -6,10 +6,9 @@ try {
const composeFile = core.getInput('compose-file'); const composeFile = core.getInput('compose-file');
const downOptionsString = core.getInput('down-options'); const downOptionsString = core.getInput('down-options');
let options = { config: composeFile, log: true};
if (downOptionsString.length > 0) if (downOptionsString.length > 0)
let options = { config: composeFile, log: true, commandOptions: downOptionsString.split(" ") }; options['commandOptions'] = downOptionsString.split(" ");
else
let options = { config: composeFile, log: true};
if (!fs.existsSync(composeFile)) { if (!fs.existsSync(composeFile)) {
console.log(`${composeFile} not exists`); console.log(`${composeFile} not exists`);