mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-23 04:28:19 +00:00
return callbacks
This commit is contained in:
parent
9a09e206ae
commit
814c2bc4a4
@ -25,9 +25,9 @@ ContractsManager.prototype.build = function(done) {
|
|||||||
var compiler = new Compiler();
|
var compiler = new Compiler();
|
||||||
try {
|
try {
|
||||||
self.compiledContracts = compiler.compile_solidity(self.contractFiles);
|
self.compiledContracts = compiler.compile_solidity(self.contractFiles);
|
||||||
callback();
|
return callback();
|
||||||
} catch(err) {
|
} catch(err) {
|
||||||
callback(new Error(err.message));
|
return callback(new Error(err.message));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
function prepareContractsFromConfig(callback) {
|
function prepareContractsFromConfig(callback) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user