Skip to content

Commit 21cf5ae

Browse files
bukowaGerrit0
authored andcommitted
chore: lint
1 parent ef0f26e commit 21cf5ae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/lib/converter/comments/parser.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,10 @@ export function parseCommentString(
217217
if (firstBlock.text.startsWith(`---${lineBreak}`)) {
218218
const end = firstBlock.text.indexOf(`${lineBreak}---${lineBreak}`);
219219
if (end !== -1) {
220-
const yamlText = firstBlock.text.slice(`---${lineBreak}`.length, end);
220+
const yamlText = firstBlock.text.slice(
221+
`---${lineBreak}`.length,
222+
end,
223+
);
221224
firstBlock.text = firstBlock.text
222225
.slice(end + `${lineBreak}---${lineBreak}`.length)
223226
.trimStart();

0 commit comments

Comments
 (0)