Skip to content

Commit 0518ec1

Browse files
committed
fix(config): split array values correctly
1 parent a47a7ba commit 0518ec1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/ConfigNode.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ const formatDefault = (value?: string): Default => {
3535
return {
3636
value: value
3737
.substring(1, value.length - 1)
38-
.split(", ")
39-
.map((i) => ` - ${i}`)
38+
.split(",")
39+
.map((i) => ` - ${i.trim()}`)
4040
.join("\n"),
4141
inline: false,
4242
};

0 commit comments

Comments
 (0)