compose-action/utils.js
Ricardo J González C 5e50ea4795 Fix minor bugs
2022-06-03 12:05:37 -05:00

9 lines
242 B
JavaScript

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