deploy: b01b01845967feffa8defd5a30356c8d807e4442

This commit is contained in:
SukkaBot
2022-02-20 15:50:19 +00:00
parent 14b4571d70
commit 5f00e3efca
4 changed files with 106 additions and 32 deletions

View File

@@ -245,7 +245,7 @@ async function processFilterRules(filterRulesUrl) {
(await Promise.all(
Array.from(domainSets).reduce((result, element, index) => {
const chunk = index % threads;
result[chunk] = result[chunk] ?? [];
result[chunk] ??= [];
result[chunk].push(element);
return result;