return callback

This commit is contained in:
Iuri Matias 2016-10-30 21:52:58 -04:00
parent eb7c89045e
commit b01f18916e

View File

@ -234,10 +234,9 @@ var Embark = {
function deployAndBuildContractsManager(callback) {
Embark.buildAndDeploy(function(err, contractsManager) {
if (err) {
callback(err);
} else {
callback(null, contractsManager);
return callback(err);
}
return callback(null, contractsManager);
});
},
function generateConsoleABI(contractsManager, callback) {