mirror of https://gitee.com/bigwinds/arangodb
Fix breaky multi-deps
This commit is contained in:
parent
73e71e7252
commit
4edb258ebb
|
@ -427,7 +427,7 @@ module.exports =
|
|||
const deps = this.getDependencies();
|
||||
return (
|
||||
_.some(config, (cfg) => cfg.current === undefined && cfg.required) ||
|
||||
_.some(deps, (dep) => (dep.multiple ? !dep.current.length : !dep.current) && dep.required)
|
||||
_.some(deps, (dep) => (dep.multiple ? (!dep.current || !dep.current.length) : !dep.current) && dep.required)
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue