Housekeeping & Make ESLint Happy

This commit is contained in:
SukkaW
2026-07-29 12:42:58 +08:00
parent 36ceefd3a3
commit 55870db2bc
10 changed files with 39 additions and 23 deletions

View File

@@ -70,7 +70,9 @@ export async function parseGfwList() {
]);
const text = await (await $$fetch('https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt')).text();
for (const l of atob(text).split('\n')) {
const lines = atob(text).split('\n');
for (let i = 0, len = lines.length; i < len; i++) {
const l = lines[i];
const line = processLine(l);
if (!line) continue;