Chore: minor changes
Some checks failed
Build / Build (push) Has been cancelled
Build / Diff output (push) Has been cancelled
Build / Deploy to Cloudflare Pages (3.114.12) (push) Has been cancelled
Build / Deploy to GitHub and GitLab (push) Has been cancelled
Build / Remove Artifacts after Deployment (push) Has been cancelled

This commit is contained in:
SukkaW
2026-03-31 22:35:26 +08:00
parent 939fa0d2a0
commit 8364aebdda
3 changed files with 7 additions and 7 deletions

View File

@@ -49,7 +49,7 @@ export async function compareAndWriteFile(span: Span, linesA: string[], filePath
}
await new Promise<void>(resolve => {
// Since we previously poped the last empty line for comparison, we need to add it back here to ensure final EOF line
writeStream.end('\n', resolve);
writeStream.end(resolve);
});
await promisify(writeStream.close.bind(writeStream))();
});