|
|
@ -329,11 +329,11 @@ var fs = require('fs'),
|
|
|
|
async.each(pluginDirectories, function(directory, next) {
|
|
|
|
async.each(pluginDirectories, function(directory, next) {
|
|
|
|
utils.walk(directory, function(err, scripts) {
|
|
|
|
utils.walk(directory, function(err, scripts) {
|
|
|
|
Meta.js.scripts = Meta.js.scripts.concat(scripts);
|
|
|
|
Meta.js.scripts = Meta.js.scripts.concat(scripts);
|
|
|
|
next();
|
|
|
|
next(err);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}, function(err) {
|
|
|
|
}, function(err) {
|
|
|
|
Meta.js.prepared = true;
|
|
|
|
Meta.js.prepared = true;
|
|
|
|
callback();
|
|
|
|
callback(err);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|