From 23b2f7197c5aeab16c97a652bba5df588de67b4e Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Thu, 6 Jul 2017 15:00:43 +0300 Subject: [PATCH] Deep merge default config --- src/helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helper.js b/src/helper.js index fb1982b7..23c4abfb 100644 --- a/src/helper.js +++ b/src/helper.js @@ -66,7 +66,7 @@ function setHome(homePath) { // Reload config from new home location if (fs.existsSync(this.CONFIG_PATH)) { var userConfig = require(this.CONFIG_PATH); - this.config = _.extend(this.config, userConfig); + this.config = _.merge(this.config, userConfig); } if (!this.config.displayNetwork && !this.config.lockNetwork) {