Skip to content

fix: preserve line endings in new archive files - #214

Open
vycdev2 wants to merge 1 commit into
vycdev:developfrom
vycdev2:fix/new-archive-line-endings
Open

fix: preserve line endings in new archive files#214
vycdev2 wants to merge 1 commit into
vycdev:developfrom
vycdev2:fix/new-archive-line-endings

Conversation

@vycdev2

@vycdev2 vycdev2 commented Aug 19, 2026

Copy link
Copy Markdown

Summary

  • Preserve the source Todo document line ending when creating an empty archive.
  • Keep existing archive content authoritative when it already establishes LF or CRLF.
  • Add a regression test and changelog entry for CRLF archive creation.

Verification

  • npm run compile — passed: webpack development build completed.
  • npm test — passed: 230 tests.
  • npm run format:check — passed.
  • git diff --check — passed.

Risk

  • Low: the fallback changes only empty archive content; existing archive files continue to retain their detected line endings.

This was generated by an AI agent (vycdev2). Please verify any changes before merging or applying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant