Skip to content

Commit a55c272

Browse files
committedJan 12, 2022
feat(website): change the max length of generated code lines to be 80 instead of 120
1 parent 4929c46 commit a55c272

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎website/src/lib/generateChartCode.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const toJson = (value: any) => {
2323
})
2424
.replace(/"/gm, `'`)
2525

26-
if (normalized.length < 120) {
26+
if (normalized.length < 80) {
2727
return normalized.replace(/\n/gm, ' ').replace(/\s{2,}/g, ' ')
2828
}
2929

0 commit comments

Comments
 (0)
Please sign in to comment.