From beea030c18ae8f1576e5ac2c9ab6a863da2f75f3 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Wed, 3 Oct 2018 11:09:12 -0400 Subject: [PATCH] remove process.exits --- lib/modules/ens/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/modules/ens/index.js b/lib/modules/ens/index.js index 73109330b..34f126450 100644 --- a/lib/modules/ens/index.js +++ b/lib/modules/ens/index.js @@ -99,7 +99,7 @@ class ENS { if (isKnownNetwork || !shouldRegisterSubdomain) { return cb(); } - process.exit(); + self.registerConfigDomains(config, cb); }); } @@ -246,8 +246,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([