mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 14:24:24 +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();
|
||||
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…
x
Reference in New Issue
Block a user