Skip to content

Commit ecec8de

Browse files
fix: handle json format (#99)
1 parent 5e9b6e9 commit ecec8de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/run.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ export async function applyRenderer(
298298

299299
let data: string | Buffer
300300

301-
if (format === 'svg') {
301+
if (format === 'svg' || format === 'json') {
302302
data = await processingSvg
303303
}
304304

0 commit comments

Comments
 (0)