deploy: 1586fe73c1f6ae8ef683d772580403d5066aee6e

This commit is contained in:
SukkaBot
2022-09-22 15:37:52 +00:00
parent ac4acbd5da
commit de4d9dd037
7 changed files with 26 additions and 6 deletions

View File

@@ -7,7 +7,7 @@ const { isCI } = require('ci-info');
const threads = isCI ? cpuCount : cpuCount / 2;
(async () => {
console.time('Total time');
console.time('Total Time - build-reject-domain-set');
/** @type Set<string> */
const domainSets = new Set();
@@ -267,10 +267,10 @@ 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(
await fsPromises.writeFile(
pathResolve(__dirname, '../List/domainset/reject.conf'),
`${[...domainSets].join('\n')}\n`,
{ encoding: 'utf-8' });
console.time('Total Time - build-reject-domain-set');
})();