We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3fbba2 commit c084b09Copy full SHA for c084b09
examples/GiftEditor.ts
@@ -90,7 +90,7 @@ const program = Effect.gen(function* () {
90
}
91
92
// Save the bitizen to the filesystem
93
- const bitizenJson = Schema.encodeSync(Schema.parseJson(BitizenJson))(maybeBitizen.value);
+ const bitizenJson = Schema.encodeSync(Schema.parseJson(BitizenJson, { space: 4 }))(maybeBitizen.value);
94
yield* fileSystem.writeFileString(`gift_${gift.id}.json`, bitizenJson);
95
96
// Wait for the user to confirm they are done editing
0 commit comments