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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user