mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-07 12:51:28 +02:00
pass err through
This commit is contained in:
@@ -329,11 +329,11 @@ var fs = require('fs'),
|
||||
async.each(pluginDirectories, function(directory, next) {
|
||||
utils.walk(directory, function(err, scripts) {
|
||||
Meta.js.scripts = Meta.js.scripts.concat(scripts);
|
||||
next();
|
||||
next(err);
|
||||
});
|
||||
}, function(err) {
|
||||
Meta.js.prepared = true;
|
||||
callback();
|
||||
callback(err);
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user