mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-16 10:46:14 +01:00
async.apply -_-
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user