Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix YAML Key Sort Not Accounting for Trailing Whitespace on Keys #1209

Merged
merged 2 commits into from
Oct 27, 2024

Conversation

pjkaufman
Copy link
Collaborator

Fixes #1202

There was an issue where Priority Sort would not work if there was a space after the colon assuming there was a colon. So the values are now getting trimmed.

Changes Made:

  • Added a test for the scenario provided
  • Removed trailing whitespace on key names

@pjkaufman pjkaufman added bug Something isn't working yaml YAML related issues or features labels Oct 27, 2024
@pjkaufman pjkaufman self-assigned this Oct 27, 2024
@pjkaufman pjkaufman merged commit 30ccac0 into platers:master Oct 27, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working yaml YAML related issues or features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: YAML Key Sort Does Not Work when There is Trailing Whitespace after a Colon in Config Values
1 participant