Skip to content

Commit

Permalink
feat(website): change the max length of generated code lines to be 80…
Browse files Browse the repository at this point in the history
… instead of 120
  • Loading branch information
plouc committed Jan 12, 2022
1 parent 4929c46 commit a55c272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/lib/generateChartCode.ts
Expand Up @@ -23,7 +23,7 @@ const toJson = (value: any) => {
})
.replace(/"/gm, `'`)

if (normalized.length < 120) {
if (normalized.length < 80) {
return normalized.replace(/\n/gm, ' ').replace(/\s{2,}/g, ' ')
}

Expand Down

0 comments on commit a55c272

Please sign in to comment.