Skip to content

Commit 6c10f34

Browse files
committed
chore: format issues fix
1 parent 6c7db9a commit 6c10f34

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

src/util/parse-schema-content.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,7 @@ function normalizeYamlEscapedLineBreaks(content: string): string {
3333
index += 1;
3434
}
3535

36-
while (
37-
content[index + 1] === " " ||
38-
content[index + 1] === "\t"
39-
) {
36+
while (content[index + 1] === " " || content[index + 1] === "\t") {
4037
index += 1;
4138
}
4239

tests/parse-schema-content.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ paths: {}
7171
' title: "App NG"',
7272
' version: "1.0.0"',
7373
' description: "First line\\',
74-
" second line\"",
74+
' second line"',
7575
"paths: {}",
7676
"",
7777
].join("\r\n"),

0 commit comments

Comments
 (0)