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 downOptionsString = core.getInput('down-options');
if (downOptionsString.length > 0)
let options = { config: composeFile, log: true, commandOptions: downOptionsString.split(" ") };
else
let options = { config: composeFile, log: true};
if (downOptionsString.length > 0)
options['commandOptions'] = downOptionsString.split(" ");
if (!fs.existsSync(composeFile)) {
console.log(`${composeFile} not exists`);