Skip to content

Commit

Permalink
fix: wrong serialize js indent size
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Feb 12, 2022
1 parent 5c2e10c commit 3096e90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/histoire/src/client/app/codegen/serialize-js.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function serializeJs (value: any): string {
}

function printLines (lines: Line[]) {
return lines.map(line => ' '.repeat(line.spaces) + line.line).join('\n')
return lines.map(line => ' '.repeat(line.spaces) + line.line).join('\n')
}

function objectToSourceLines (object, indentCount = 0) {
Expand Down

0 comments on commit 3096e90

Please sign in to comment.