return callbacks

This commit is contained in:
Iuri Matias 2016-10-29 12:15:50 -04:00
parent 9a09e206ae
commit 814c2bc4a4
1 changed files with 2 additions and 2 deletions

View File

@ -25,9 +25,9 @@ ContractsManager.prototype.build = function(done) {
var compiler = new Compiler();
try {
self.compiledContracts = compiler.compile_solidity(self.contractFiles);
callback();
return callback();
} catch(err) {
callback(new Error(err.message));
return callback(new Error(err.message));
}
},
function prepareContractsFromConfig(callback) {