src/cmds/start.js
Function start
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
start(manifest, systems, opts) {
return async(this, function* () {
var result = yield this._scale(systems, 'start', opts);
// if flag --open
Function _scale
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_scale(systems, action, opts) {
var args = this.normalized_params.arguments;
var args_systems = (args.system || '').split(',');
args_systems = _.map(args_systems, (s) => (s || '').trim());