Skip to content

Commit 9f96b8f

Browse files
authored
fix(DocumentBuilder): response redirect adding lines on each format (#44)
1 parent 5d79b5e commit 9f96b8f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mistweaverco/kulala-fmt",
3-
"version": "2.9.0",
3+
"version": "2.9.1",
44
"type": "module",
55
"scripts": {
66
"build": "rollup -c",

src/lib/parser/DocumentBuilder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ const build = async (
214214
}
215215
}
216216
if (block.responseRedirect) {
217-
output += `\n${block.responseRedirect}\n`;
217+
output += `\n${block.responseRedirect.trim()}\n`;
218218
}
219219
}
220220
output = output.trim() + "\n";

0 commit comments

Comments
 (0)