Chore: more refactor to the bun

This commit is contained in:
SukkaW
2023-11-15 15:53:29 +08:00
parent 071b8120a6
commit ec338a659f
5 changed files with 16 additions and 19 deletions

View File

@@ -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++;