We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2216c51 commit 3c53d02Copy full SHA for 3c53d02
1 file changed
web-report/src/lib/utils.tsx
@@ -86,8 +86,7 @@ export const extractComments = (code: string): string => {
86
.split("\n")
87
.map(line => line.replace(/^\s*\*\s?/, ""))
88
.join("\n")
89
- .replace(/^\n+/, "")
90
- .replace(/\n+$/, "");
+ .trim();
91
})
92
.filter(text => text.length > 0)
93
.join("\n\n");
0 commit comments