Skip to content

Conversation

@HowardBraham
Copy link
Contributor

@HowardBraham HowardBraham commented Jan 31, 2026

I had fixed some problems in #246, but validate was always saying "every single line is wrong" on Windows.


Note

Low Risk
Low risk: changes are limited to normalizing line endings before parsing/comparing, with added tests to prevent Windows-only formatting false positives.

Overview
Prevents validateChangelog from reporting formatting errors solely due to Windows CRLF line endings by normalizing input/output line endings to LF before parsing and when comparing the formatted result.

Adds regression tests covering CRLF changelog content (including when using the Prettier formatter) to ensure validation passes on Windows.

Written by Cursor Bugbot for commit f67b33f. This will update automatically on new commits. Configure here.

@HowardBraham HowardBraham self-assigned this Jan 31, 2026
@HowardBraham HowardBraham requested a review from a team as a code owner January 31, 2026 07:36
Copy link
Contributor

@mcmire mcmire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@HowardBraham HowardBraham merged commit 8e1e0db into main Feb 2, 2026
26 checks passed
@HowardBraham HowardBraham deleted the windows-crlf branch February 2, 2026 17:04
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.

3 participants