Skip to content

Commit

Permalink
fix: When installing a plugin and no abe.json exists, an abe.json fil…
Browse files Browse the repository at this point in the history
…e is created
  • Loading branch information
gregorybesson committed May 3, 2017
1 parent 43f1129 commit 6de8945
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli/core/config/config.js
Expand Up @@ -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 = () => {
Expand Down

0 comments on commit 6de8945

Please sign in to comment.