Skip to content

Commit

Permalink
[CLI] Fix command generate-doc (#1568)
Browse files Browse the repository at this point in the history
  • Loading branch information
josefpihrt authored Oct 23, 2024
1 parent 28bd21d commit f4e77da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- Fix analyzer [RCS1090](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1090) ([PR](/~https://github.com/dotnet/roslynator/pull/1566))
- [CLI] Fix command `generate-doc` ([PR](/~https://github.com/dotnet/roslynator/pull/1568))

### Change

Expand Down
1 change: 1 addition & 0 deletions src/Documentation/TextUtility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public static string RemoveLeadingTrailingNewLine(
}

if (trailingNewLine
&& length > startIndex
&& s[length - 1] == '\n')
{
length--;
Expand Down

0 comments on commit f4e77da

Please sign in to comment.