Fix minor bugs

This commit is contained in:
Ricardo J González C 2022-06-03 12:05:37 -05:00
parent 3533107d1d
commit 5e50ea4795
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
const core = require("@actions/core");
const compose = require("docker-compose");
const fs = require("fs");
const utils = require("./utils");
try {
const composeFile = core.getInput("compose-file");

View File

@ -1,7 +1,7 @@
module.exports.getOptions = (flags) => {
const options = { config: composeFile, log: true };
if (flags != null && typeof flags == "string" && flags.length > 0) {
options["commandOptions"] = downFlagsString.split(" ");
options["commandOptions"] = flags.split(" ");
}
return options;