mirror of
https://github.com/hoverkraft-tech/compose-action.git
synced 2026-01-12 07:33:06 +08:00
* fix: broken action test * fix: run npm install * fix: add missing node_modules * fix: invalid option creating * fix: add missing composeFile parameter * fix: change test order * WIP: add debug code * WIP: fix main.js * WIP: fix action * WIP: debug * WIP: debug * fix: remove double quote
9 lines
255 B
JavaScript
9 lines
255 B
JavaScript
module.exports.getOptions = (composeFile, flags) => {
|
|
const options = { config: composeFile, log: true };
|
|
if (flags != null && typeof flags == "string" && flags.length > 0) {
|
|
options["commandOptions"] = flags.split(" ");
|
|
}
|
|
|
|
return options;
|
|
};
|