Fix linting

This commit is contained in:
Iuri Matias 2019-03-18 17:41:06 -04:00
parent 9c74da3a7b
commit b3b2b317c7
2 changed files with 3 additions and 4 deletions

View File

@ -40,7 +40,6 @@ var Config = function(options) {
this._updateBlockchainCors(); this._updateBlockchainCors();
}); });
self.events.setCommandHandler("config:contractsConfig", (cb) => { self.events.setCommandHandler("config:contractsConfig", (cb) => {
cb(self.contractsConfig); cb(self.contractsConfig);
}); });

View File

@ -313,9 +313,9 @@ class CodeGenerator {
function generateConfig(next) { function generateConfig(next) {
self.events.request("config:contractsConfig", (contractsConfig) => { self.events.request("config:contractsConfig", (contractsConfig) => {
self.generateContractConfig(contractsConfig, () => { self.generateContractConfig(contractsConfig, () => {
next() next();
}) });
}) });
}, },
function getEmbarkJsLocation(next) { function getEmbarkJsLocation(next) {
self.events.request('version:downloadIfNeeded', 'embarkjs', (err, location) => { self.events.request('version:downloadIfNeeded', 'embarkjs', (err, location) => {