mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-28 17:41:54 +08:00
Chore: dedupe and sort other rulesets
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { domainDeduper } from './lib/domain-deduper';
|
||||
import { domainsetDeduper } from './lib/domain-deduper';
|
||||
import path from 'node:path';
|
||||
import { createRuleset } from './lib/create-file';
|
||||
import { sortDomains } from './lib/stable-sort-domain';
|
||||
@@ -235,7 +235,7 @@ export const buildSpeedtestDomainSet = task(require.main === module, __filename)
|
||||
}
|
||||
}))));
|
||||
|
||||
const deduped = span.traceChildSync('sort result', () => sortDomains(domainDeduper(domainTrie)));
|
||||
const deduped = span.traceChildSync('sort result', () => sortDomains(domainsetDeduper(domainTrie)));
|
||||
|
||||
const description = [
|
||||
...SHARED_DESCRIPTION,
|
||||
|
||||
Reference in New Issue
Block a user