diff --git a/packages/embark/src/lib/core/config.js b/packages/embark/src/lib/core/config.js index fead2460d..1d0cd1d88 100644 --- a/packages/embark/src/lib/core/config.js +++ b/packages/embark/src/lib/core/config.js @@ -40,7 +40,6 @@ var Config = function(options) { this._updateBlockchainCors(); }); - self.events.setCommandHandler("config:contractsConfig", (cb) => { cb(self.contractsConfig); }); diff --git a/packages/embark/src/lib/modules/code_generator/index.js b/packages/embark/src/lib/modules/code_generator/index.js index b5c9ac04c..dd72a063d 100644 --- a/packages/embark/src/lib/modules/code_generator/index.js +++ b/packages/embark/src/lib/modules/code_generator/index.js @@ -313,9 +313,9 @@ class CodeGenerator { function generateConfig(next) { self.events.request("config:contractsConfig", (contractsConfig) => { self.generateContractConfig(contractsConfig, () => { - next() - }) - }) + next(); + }); + }); }, function getEmbarkJsLocation(next) { self.events.request('version:downloadIfNeeded', 'embarkjs', (err, location) => {