From 6de89459bbba7b225da6e96f9b763919bdd5860a Mon Sep 17 00:00:00 2001 From: gregorybesson Date: Wed, 3 May 2017 19:19:04 +0200 Subject: [PATCH] fix: When installing a plugin and no abe.json exists, an abe.json file is created --- src/cli/core/config/config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli/core/config/config.js b/src/cli/core/config/config.js index 40cbd1c3..cf59e3bd 100755 --- a/src/cli/core/config/config.js +++ b/src/cli/core/config/config.js @@ -110,12 +110,12 @@ result.set = (json) => { result.save = (json) => { // extend(true, result, json) - if (result.localConfigExist()){ + //if (result.localConfigExist()){ // var abeJson = fse.readJsonSync(path.join(result.root,'abe.json')) // extend(true, abeJson, json) var confPath = path.join(result.root,'abe.json') fse.writeJsonSync(confPath, json, { space: 2, encoding: 'utf-8' }) - } + //} } result.getConfigByWebsite = () => {