Refactor: make Node.js run compatible

This commit is contained in:
SukkaW
2024-07-23 17:42:10 +08:00
parent 1f42c27afe
commit 553dd62eb1
32 changed files with 163 additions and 136 deletions

View File

@@ -62,7 +62,7 @@ export const parseDomesticList = async () => {
};
// await Promise.all([
await runAgainstRuleset(path.resolve(import.meta.dir, '../List/non_ip/domestic.conf'));
await runAgainstRuleset(path.resolve(__dirname, '../List/non_ip/domestic.conf'));
// ]);
console.log(notIncludedDomestic.size, notIncludedDomestic);