Skip to content

Commit

Permalink
Add strip to line
Browse files Browse the repository at this point in the history
  • Loading branch information
Archmonger committed Sep 27, 2024
1 parent bf4a0a7 commit 1c074f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/validate_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ def validate_changelog(changelog_path="CHANGELOG.md"):
current_position_in_order = -1
version_header = "UNKNOWN"
for line in changelog_header_lines:
line = line.strip()
# Reset current position if we are at a version header
if line.startswith("## "):
version_header = line
Expand Down

0 comments on commit 1c074f6

Please sign in to comment.