mirror of https://github.com/embarklabs/embark.git
Merge pull request #842 from embark-framework/fix_cb_issue
take into account when event does not trigger a callback
This commit is contained in:
commit
7ce92211f9
|
@ -33,7 +33,7 @@ class ENS {
|
||||||
this.events.setCommandHandler("storage:ens:associate", this.associateStorageToEns.bind(this));
|
this.events.setCommandHandler("storage:ens:associate", this.associateStorageToEns.bind(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
setProviderAndRegisterDomains(cb) {
|
setProviderAndRegisterDomains(cb = (() => {})) {
|
||||||
const self = this;
|
const self = this;
|
||||||
async.parallel([
|
async.parallel([
|
||||||
function getENSRegistry(paraCb) {
|
function getENSRegistry(paraCb) {
|
||||||
|
|
Loading…
Reference in New Issue