From 09fbd66417059cec9f19a205821b1e5c81db044d Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Wed, 1 Mar 2017 21:09:55 -0500 Subject: [PATCH] put callback call at the end --- lib/contracts/deploy_manager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/contracts/deploy_manager.js b/lib/contracts/deploy_manager.js index acb3b528..31206e4a 100644 --- a/lib/contracts/deploy_manager.js +++ b/lib/contracts/deploy_manager.js @@ -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); }); }); }