mirror of https://github.com/embarklabs/embark.git
take into account when event does not trigger a cb
This commit is contained in:
parent
a43627de5b
commit
7d6809b57f
|
@ -33,7 +33,11 @@ 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) {
|
||||||
|
let cb = _cb
|
||||||
|
if (!cb) {
|
||||||
|
cb = function() {}
|
||||||
|
}
|
||||||
const self = this;
|
const self = this;
|
||||||
async.parallel([
|
async.parallel([
|
||||||
function getENSRegistry(paraCb) {
|
function getENSRegistry(paraCb) {
|
||||||
|
|
Loading…
Reference in New Issue