Bugfix for plugin listing
parent
7b42987407
commit
1d86c828bc
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue