deploy: 00098c9ecc6a011316e2d003c77272821472a10d

This commit is contained in:
SukkaBot
2022-09-22 15:20:18 +00:00
parent 61addf213d
commit ac4acbd5da
4 changed files with 10 additions and 6 deletions

View File

@@ -7,6 +7,8 @@ const { isCI } = require('ci-info');
const threads = isCI ? cpuCount : cpuCount / 2;
(async () => {
console.time('Total time');
/** @type Set<string> */
const domainSets = new Set();
@@ -265,6 +267,8 @@ const threads = isCI ? cpuCount : cpuCount / 2;
console.timeEnd(`* Dedupe from covered subdomain`);
console.log(`Deduped ${previousSize - domainSets.size} rules!`);
console.timeEnd('Total time');
return fsPromises.writeFile(
pathResolve(__dirname, '../List/domainset/reject.conf'),
`${[...domainSets].join('\n')}\n`,