mirror of
https://github.com/SukkaW/Surge.git
synced 2026-04-30 01:46:57 +08:00
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
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:
@@ -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))();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user