Skip to content

Commit 861b0e7

Browse files
committed
Pretty print
1 parent ff1f4c9 commit 861b0e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/drive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export class FileSystemDrive implements Contents.IDrive {
149149
const format = options?.format;
150150
const content = options?.content;
151151
if (format === 'json') {
152-
const data = JSON.stringify(content);
152+
const data = JSON.stringify(content, null, 2);
153153
await writable.write(data);
154154
} else {
155155
await writable.write(content);

0 commit comments

Comments
 (0)