Bugfix for plugin listing

pull/528/head
Egil Moeller 2012-02-25 17:58:25 +01:00
parent 7b42987407
commit 1d86c828bc
1 changed files with 1 additions and 0 deletions

View File

@ -116,6 +116,7 @@ exports.loadPlugin = function (packages, plugin_name, plugins, parts, cb) {
function (er, data) { function (er, data) {
var plugin = JSON.parse(data); var plugin = JSON.parse(data);
plugin.package = packages[plugin_name]; plugin.package = packages[plugin_name];
plugins[plugin_name] = plugin;
plugin.parts.forEach(function (part) { plugin.parts.forEach(function (part) {
part.plugin = plugin; part.plugin = plugin;
part.full_name = plugin_name + "/" + part.name; part.full_name = plugin_name + "/" + part.name;