mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Refactor: adjust more output
This commit is contained in:
@@ -4,6 +4,7 @@ import { createTrie } from './lib/trie';
|
||||
import path from 'node:path';
|
||||
import { processLine } from './lib/process-line';
|
||||
import { extractDomainsFromFelixDnsmasq } from './lib/parse-dnsmasq';
|
||||
import { SOURCE_DIR } from './constants/dir';
|
||||
|
||||
export const parseDomesticList = async () => {
|
||||
const set = new Set<string>();
|
||||
@@ -62,7 +63,7 @@ export const parseDomesticList = async () => {
|
||||
};
|
||||
|
||||
// await Promise.all([
|
||||
await runAgainstRuleset(path.resolve(__dirname, '../List/non_ip/domestic.conf'));
|
||||
await runAgainstRuleset(path.resolve(SOURCE_DIR, 'non_ip/domestic.conf'));
|
||||
// ]);
|
||||
|
||||
console.log(notIncludedDomestic.size, notIncludedDomestic);
|
||||
|
||||
Reference in New Issue
Block a user