async.apply -_-

This commit is contained in:
Peter Jaszkowiak
2017-05-24 16:55:23 -06:00
parent 3dd282b7b9
commit 8ce35c3cc2

View File

@@ -180,9 +180,7 @@ function build(targets, callback) {
var startTime; var startTime;
var totalTime; var totalTime;
async.series([ async.series([
function (next) { async.apply(beforeBuild, targets),
beforeBuild(targets, next);
},
function (next) { function (next) {
var threads = parseInt(nconf.get('threads'), 10); var threads = parseInt(nconf.get('threads'), 10);
if (threads) { if (threads) {