From 93b89454f696a1c7ae1ca0c17e67ea6a9d2d4c04 Mon Sep 17 00:00:00 2001 From: Robin Drexler Date: Tue, 30 Jan 2018 15:59:20 +0100 Subject: [PATCH] fix(hops-config): fix extends overriding previous values instead of extending --- packages/config/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/config/index.js b/packages/config/index.js index e33ea143e..8b0db41c3 100644 --- a/packages/config/index.js +++ b/packages/config/index.js @@ -53,7 +53,7 @@ function applyInheritedConfig(config) { sync: true, }); var _result = loader.load(); - assign(result, _result ? _result.config : {}); + assign(result, assign(_result ? _result.config : {}, result)); } else { console.error('Failed to load inherited config', configName); }