From 38e2bb2f3c3ee12c5265c6aa0ba6d394c4527c2f Mon Sep 17 00:00:00 2001 From: ilyaigpetrov Date: Tue, 12 Jan 2021 14:18:46 +0000 Subject: [PATCH] Refactor one line --- .../src/extension-common/35-pac-kitchen-api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/35-pac-kitchen-api.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/35-pac-kitchen-api.js index bf50d34..2e14c71 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/35-pac-kitchen-api.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/35-pac-kitchen-api.js @@ -388,7 +388,7 @@ const ifManualExceptions = ifIncluded || ifExcluded; const finalExceptions = {}; if (pacMods.ifProxyMoreDomains) { - pacMods.moreDomains.reduce((acc, tld) => { + finalExceptions = pacMods.moreDomains.reduce((acc, tld) => { acc[tld] = true; return acc;