Fix bug loading multiple packages

This commit is contained in:
Michael Droettboom 2018-06-15 12:59:39 -04:00
parent b8b9519575
commit d34755e7aa
1 changed files with 0 additions and 4 deletions

View File

@ -21,10 +21,6 @@ var languagePluginLoader = new Promise((resolve, reject) => {
}; };
let loadedPackages = new Set(); let loadedPackages = new Set();
let loadPackage = (names) => { let loadPackage = (names) => {
if (Array.isArray(names)) {
names = [ names ];
}
// DFS to find all dependencies of the requested packages // DFS to find all dependencies of the requested packages
let queue = new Array(names); let queue = new Array(names);
let toLoad = new Set(); let toLoad = new Set();