Skip to content

Commit

Permalink
Rever CppSharp version as newer version eats function return comment …
Browse files Browse the repository at this point in the history
…kind (#286)

Co-authored-by: Ruslan Balanukhin <[email protected]>
  • Loading branch information
Ruslan-B and Ruslan Balanukhin authored Nov 14, 2023
1 parent 66ba4b6 commit e35d5c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<ItemGroup>
<PackageVersion Include="CommandLineParser" Version="2.9.1" />
<PackageVersion Include="coverlet.collector" Version="6.0.0" />
<PackageVersion Include="CppSharp" Version="1.1.5.3168" />
<PackageVersion Include="CppSharp" Version="1.0.1" />
<PackageVersion Include="Microsoft.Net.Compilers.Toolset" Version="4.7.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="1.1.1" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ private static string GetCommentString(BlockCommandComment comment)
{
return comment == null
? null
: string.Join(" ", comment.ParagraphComment.Content.OfType<TextComment>().Select(x => x.Text.Trim()));
: string.Join(" ", comment.ParagraphComment.Content.OfType<TextComment>().Select(x => x.Text.Trim()).Where(x => !string.IsNullOrWhiteSpace(x)));
}

private static string GetSha256(string text)
Expand Down

0 comments on commit e35d5c7

Please sign in to comment.