Refactor one line

This commit is contained in:
ilyaigpetrov 2021-01-12 14:18:46 +00:00
parent 35668f620b
commit 38e2bb2f3c

View File

@ -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;