Skip to content

Feature handle build issues #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 31, 2020
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 <shawn.j.mckay@gmail.com>
  • 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