Skip to content

Commit

Permalink
fix: issue with bundle command
Browse files Browse the repository at this point in the history
bundle command was unable to output in json format.
  • Loading branch information
Souvikns committed Jul 25, 2023
1 parent a874a1a commit 00985f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default class Bundle extends Command {
}

if (format === '.json') {
await writeFile(path.resolve(process.cwd(), output), document.json(), {
await writeFile(path.resolve(process.cwd(), output), document.string(), {
encoding: 'utf-8',
});
}
Expand Down

0 comments on commit 00985f2

Please sign in to comment.