mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Chore: more refactor to the bun
This commit is contained in:
@@ -19,7 +19,7 @@ async function compareAndWriteFile(linesA, filePath) {
|
||||
} else {
|
||||
let index = 0;
|
||||
|
||||
for await (const lineB of readFileByLine(filePath)) {
|
||||
for await (const lineB of readFileByLine(file)) {
|
||||
const lineA = linesA[index];
|
||||
index++;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user