From 3cf44490205d3f9822eb1859be5b42a72379c885 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Wed, 7 Sep 2016 02:08:54 +0300 Subject: [PATCH] use eachSeries --- src/install.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/install.js b/src/install.js index 296e30fdc4..8cf99ba264 100644 --- a/src/install.js +++ b/src/install.js @@ -182,7 +182,7 @@ function setupDefaultConfigs(next) { var meta = require('./meta'), defaults = require(path.join(__dirname, '../', 'install/data/defaults.json')); - async.each(Object.keys(defaults), function (key, next) { + async.eachSeries(Object.keys(defaults), function (key, next) { meta.configs.setOnEmpty(key, defaults[key], next); }, function (err) { if (err) {