mirror of https://github.com/embarklabs/embark.git
fix missing error callback
This commit is contained in:
parent
bfc8663a61
commit
ac631f90dc
|
@ -29,8 +29,8 @@ class DeployManager {
|
|||
async.eachOfSeries(contracts,
|
||||
function (contract, key, callback) {
|
||||
contract._gasLimit = self.gasLimit;
|
||||
self.events.request('deploy:contract', contract, () => {
|
||||
callback();
|
||||
self.events.request('deploy:contract', contract, (err) => {
|
||||
callback(err);
|
||||
});
|
||||
},
|
||||
function (err, _results) {
|
||||
|
|
Loading…
Reference in New Issue