@ -28,9 +28,7 @@ function getTranslationTree(callback) {
});
// Filter out plugins with invalid paths
async.filter(paths, file.exists, function (err, paths) {
async.filter(paths, file.exists, next);
next(null, paths);
},
function (paths, next) {
async.map(paths, Plugins.loadPluginInfo, next);