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
Claudius Mbemba 2017-05-30 05:36:29 +02:00 committed by GitHub
parent 9f51432175
commit 8d60bd5234
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ exports.getPackages = function (cb) {
var tmp = {};
tmp[data.name] = data;
flatten(tmp[undefined].dependencies);
flatten(tmp[data.name].dependencies);
cb(null, packages);
});
};