mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 14:24:24 +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
|
||||
});
|
||||
deploy.deployAll(function() {
|
||||
callback(null, contractsManager);
|
||||
self.events.emit('contractsDeployed', contractsManager);
|
||||
callback(null, contractsManager);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user