Skip to content

Commit

Permalink
Added missing comment end trimming
Browse files Browse the repository at this point in the history
  • Loading branch information
deckdom committed May 6, 2024
1 parent 42024fd commit 593b42d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cms-ui/apps/ui-core-docs/compile-docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,5 +352,5 @@ function getAccessModifer(node: ts.Node): AccessModifer {
* Remove the `*` and padding from the doc block body.
*/
function stripStars(body: string): string {
return body.replace(/^\/\*{2}|^\s*\*(\s?)[/]?/mg, '$1').trim();
return body.replace(/^\/\*{2}|^\s*\*(\s?)[/]?|\*\//mg, '$1').trim();
}

0 comments on commit 593b42d

Please sign in to comment.