mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-27 15:35:02 +00:00
put callback call at the end
This commit is contained in:
parent
c0bcc15023
commit
09fbd66417
@ -60,8 +60,8 @@ DeployManager.prototype.deployContracts = function(done) {
|
|||||||
env: self.config.env
|
env: self.config.env
|
||||||
});
|
});
|
||||||
deploy.deployAll(function() {
|
deploy.deployAll(function() {
|
||||||
callback(null, contractsManager);
|
|
||||||
self.events.emit('contractsDeployed', contractsManager);
|
self.events.emit('contractsDeployed', contractsManager);
|
||||||
|
callback(null, contractsManager);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user