From aa056ff1c159cc971a506cb4e1917a30afc67aa9 Mon Sep 17 00:00:00 2001 From: jamesgeorge007 Date: Sat, 18 Jan 2020 15:22:59 +0530 Subject: [PATCH] refactor: remove extraneous else --- functions/strategies/FirefoxStrategy.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/functions/strategies/FirefoxStrategy.js b/functions/strategies/FirefoxStrategy.js index 1e12ba119..10d5a09ec 100644 --- a/functions/strategies/FirefoxStrategy.js +++ b/functions/strategies/FirefoxStrategy.js @@ -38,9 +38,8 @@ const firefoxWithoutProxy = (req, _store) => new Promise((resolve, reject) => { const firefoxStrategy = (req, store) => { if (store.state.postwoman.settings.PROXY_ENABLED) { return firefoxWithProxy(req, store); - } else { - return firefoxWithoutProxy(req, store); } + return firefoxWithoutProxy(req, store); } export default firefoxStrategy;