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));
|
||||
}
|
||||
|
||||
setProviderAndRegisterDomains(cb) {
|
||||
setProviderAndRegisterDomains(_cb) {
|
||||
let cb = _cb
|
||||
if (!cb) {
|
||||
cb = function() {}
|
||||
}
|
||||
const self = this;
|
||||
async.parallel([
|
||||
function getENSRegistry(paraCb) {
|
||||
|
|
Loading…
Reference in New Issue