fixed plugin dependency issue
running ./bin/run.sh after the 1st time caused the following error "TypeError: Cannot read property 'dependencies' of undefined". fixed it.pull/3197/head
parent
9f51432175
commit
8d60bd5234
|
@ -124,7 +124,7 @@ exports.getPackages = function (cb) {
|
||||||
|
|
||||||
var tmp = {};
|
var tmp = {};
|
||||||
tmp[data.name] = data;
|
tmp[data.name] = data;
|
||||||
flatten(tmp[undefined].dependencies);
|
flatten(tmp[data.name].dependencies);
|
||||||
cb(null, packages);
|
cb(null, packages);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue