Skip to content

Node.js based forum software built for the modern web

async.apply -_-

Peter Jaszkowiak8ce35c3cc261
diff --git a/src/meta/build.js b/src/meta/build.js
index 488d32e4fb..29155d55c3 100644
--- a/src/meta/build.js
+++ b/src/meta/build.js
@@ -180,9 +180,7 @@ function build(targets, callback) {
var startTime;
var totalTime;
async.series([
- function (next) {
- beforeBuild(targets, next);
- },
+ async.apply(beforeBuild, targets),
function (next) {
var threads = parseInt(nconf.get('threads'), 10);
if (threads) {