Perf: speed up build

This commit is contained in:
SukkaW
2023-09-15 22:35:46 +08:00
parent 30cab8fc22
commit d5850aa84b
23 changed files with 241 additions and 184 deletions

View File

@@ -11,7 +11,7 @@ const buildInternalChnDomains = task(__filename, async () => {
fse.ensureDir(path.resolve(__dirname, '../List/internal'))
]);
await compareAndWriteFile(
return compareAndWriteFile(
result.map(line => `SUFFIX,${line}`),
path.resolve(__dirname, '../List/internal/accelerated-china-domains.txt')
);