Skip to content

Commit

Permalink
fix: handle json format (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond authored Nov 8, 2024
1 parent 5e9b6e9 commit ecec8de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ export async function applyRenderer(

let data: string | Buffer

if (format === 'svg') {
if (format === 'svg' || format === 'json') {
data = await processingSvg
}

Expand Down

0 comments on commit ecec8de

Please sign in to comment.