mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
Updated npm to 4.0.2 and removed recursive searching for ep-plugins
This commit is contained in:
parent
602fd4629a
commit
00c9caf7a3
2 changed files with 4 additions and 3 deletions
|
@ -117,13 +117,14 @@ exports.getPackages = function (cb) {
|
|||
delete packages[name].parent;
|
||||
}
|
||||
|
||||
if (deps[name].dependencies !== undefined) flatten(deps[name].dependencies);
|
||||
// I don't think we need recursion
|
||||
//if (deps[name].dependencies !== undefined) flatten(deps[name].dependencies);
|
||||
});
|
||||
}
|
||||
|
||||
var tmp = {};
|
||||
tmp[data.name] = data;
|
||||
flatten(tmp);
|
||||
flatten(tmp[undefined].dependencies);
|
||||
cb(null, packages);
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue