mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 14:24:24 +00:00
Add missing callback
This commit is contained in:
parent
68ef5454e0
commit
32a6b53c6a
@ -158,7 +158,8 @@ class Test {
|
||||
connectToIpcNode(cb) {
|
||||
this.engine.ipc.request('blockchain:node', {}, (err, node) => {
|
||||
if (err) {
|
||||
return this.engine.logger.error(err.message || err);
|
||||
this.engine.logger.error(err.message || err);
|
||||
return cb();
|
||||
}
|
||||
this.options.node = node;
|
||||
cb();
|
||||
|
Loading…
x
Reference in New Issue
Block a user