pass err through

v1.18.x
psychobunny 11 years ago
parent f4955ffb8d
commit 6685e140c3

@ -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);
}); });
}); });
}, },

Loading…
Cancel
Save