Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
pretty write json
Signed-off-by: shmck <[email protected]>
  • Loading branch information
ShMcK committed May 31, 2020
commit caa4276f7947dad2c27970dd3d04536eed972acc
2 changes: 1 addition & 1 deletion src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ async function build(args: string[]) {
// write tutorial
if (tutorial) {
try {
await write(options.output, JSON.stringify(tutorial), "utf8");
await write(options.output, JSON.stringify(tutorial, null, 2), "utf8");
console.info(`Success! See output at ${options.output}`);
} catch (e) {
console.error("Error writing tutorial json file:");
Expand Down