We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 827a741 commit 9f59120Copy full SHA for 9f59120
1 file changed
src/slang-printers/print-block-comment.ts
@@ -8,9 +8,7 @@ const { hardline, join, literalline } = doc.builders;
8
function printIndentableBlockComment(lines: string[]): Doc {
9
return join(
10
hardline,
11
- lines.map((line, index) =>
12
- index === 0 ? line.trimEnd() : ` ${line.trimEnd()}`
13
- )
+ lines.map((line, index) => `${index === 0 ? '' : ' '}${line.trimEnd()}`)
14
);
15
}
16
0 commit comments