mirror of https://github.com/embarklabs/embark.git
return callbacks
This commit is contained in:
parent
9a09e206ae
commit
814c2bc4a4
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue