put callback call at the end

This commit is contained in:
Iuri Matias 2017-03-01 21:09:55 -05:00
parent c0bcc15023
commit 09fbd66417

View File

@ -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);
});
});
}