mirror of
https://github.com/SukkaW/Surge.git
synced 2026-09-12 10:34:35 +08:00
Housekeeping & Make ESLint Happy
This commit is contained in:
@@ -73,7 +73,8 @@ export const buildAlwaysRealIPModule = task(require.main === module, __filename)
|
||||
|
||||
const getDnsMappingRuleWithoutWildcard = createGetDnsMappingRule(false);
|
||||
|
||||
for (const { domains } of dataset) {
|
||||
for (let i = 0, len = dataset.length; i < len; i++) {
|
||||
const { domains } = dataset[i];
|
||||
clashFakeIpFilter.addFromRuleset(domains.flatMap(getDnsMappingRuleWithoutWildcard));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user