From 8cf2bcaeb4a1b70d3ac3993961cfa79b552b75bd Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Sun, 6 Sep 2020 13:16:40 -0400 Subject: [PATCH] plugins: Fix type typo `exports.parts` is a topologically sorted array, but the intermediate collection of parts assembled in `plugins.update()` is associative. --- src/static/js/pluginfw/plugins.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/static/js/pluginfw/plugins.js b/src/static/js/pluginfw/plugins.js index eb0f2d1ff..bb34e2107 100644 --- a/src/static/js/pluginfw/plugins.js +++ b/src/static/js/pluginfw/plugins.js @@ -82,7 +82,7 @@ exports.pathNormalization = function (part, hook_fn_name, hook_name) { exports.update = async function () { let packages = await exports.getPackages(); - var parts = []; + var parts = {}; // Key is full name. sortParts converts this into a topologically sorted array. var plugins = {}; // Load plugin metadata ep.json