mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Perf: speed up build
This commit is contained in:
@@ -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')
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user