plugins: Fix type typo

`exports.parts` is a topologically sorted array, but the intermediate
collection of parts assembled in `plugins.update()` is associative.
This commit is contained in:
Richard Hansen 2020-09-06 13:16:40 -04:00 committed by John McLear
parent c3b2e68dad
commit 8cf2bcaeb4

View file

@ -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