compose-action/utils.js
Razvan ada3c6c7cd
feat: add support for compose flags (#7)
Add support for options (eg: --profile) to be passed to docker-compose.
2022-08-27 15:12:55 +09:00

8 lines
162 B
JavaScript

module.exports.parseFlags = (flags) => {
if (flags != null && typeof flags == "string" && flags.length > 0) {
return flags.split(" ");
}
return [];
};