mirror of https://github.com/embarklabs/embark.git
remove process.exits
This commit is contained in:
parent
7c74f14b71
commit
beea030c18
|
@ -99,7 +99,7 @@ class ENS {
|
||||||
if (isKnownNetwork || !shouldRegisterSubdomain) {
|
if (isKnownNetwork || !shouldRegisterSubdomain) {
|
||||||
return cb();
|
return cb();
|
||||||
}
|
}
|
||||||
process.exit();
|
|
||||||
self.registerConfigDomains(config, cb);
|
self.registerConfigDomains(config, cb);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -246,8 +246,6 @@ class ENS {
|
||||||
self.events.request('blockchain:networkId', (networkId) => {
|
self.events.request('blockchain:networkId', (networkId) => {
|
||||||
if (ENS_CONTRACTS_CONFIG[networkId]) {
|
if (ENS_CONTRACTS_CONFIG[networkId]) {
|
||||||
self.ensConfig = utils.recursiveMerge(self.ensConfig, ENS_CONTRACTS_CONFIG[networkId]);
|
self.ensConfig = utils.recursiveMerge(self.ensConfig, ENS_CONTRACTS_CONFIG[networkId]);
|
||||||
} else {
|
|
||||||
process.exit();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async.waterfall([
|
async.waterfall([
|
||||||
|
|
Loading…
Reference in New Issue