Merge pull request #3197 from User1m/patch-1

fixed plugin dependency issue
This commit is contained in:
John McLear 2018-04-03 13:13:11 +01:00 committed by GitHub
commit bb83d39ff0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);
});
};