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