You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Handle null bullet point detection in update-changelog script (#125)
* fix: Handle null bullet point detection in update-changelog script
The script was failing when trying to detect bullet point characters
in changelogs that contained no existing bullet points. This occurred
because the Where-Object filter returned null, and calling .Trim() on
null caused a "You cannot call a method on a null-valued expression" error.
Fixed by wrapping the variable in quotes to convert null to empty string
before calling .Trim(), which effectively defaults to using "-" as the
bullet point character.
Added test case for this scenario to prevent regression.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
* docs: Add changelog entry for null bullet point fix
---------
Co-authored-by: Claude <[email protected]>
0 commit comments