mirror of
https://github.com/hoverkraft-tech/compose-action.git
synced 2026-01-11 23:23:06 +08:00
Fix dict assembly
This commit is contained in:
parent
4ee978ae61
commit
9b11ac16a8
5
post.js
5
post.js
@ -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`);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user