🐛 fix(scripts): force LF for generated text files

This commit is contained in:
csh
2026-05-30 07:59:56 +08:00
parent c1bce2fb72
commit 7db5e4a697
3 changed files with 110 additions and 20 deletions
+1 -1
View File
@@ -285,7 +285,7 @@ def load_progress_lines(progress_path: Path) -> list[str]:
def write_progress_lines(progress_path: Path, lines: list[str]) -> None:
progress_path.write_text("\n".join(lines) + "\n", encoding="utf-8")
progress_path.write_text("\n".join(lines) + "\n", encoding="utf-8", newline="\n")
def get_thread_lock(lock_path: Path) -> threading.Lock: