Skip to content

Commit 0869789

Browse files
committed
Make the manifest more approachable for humans by pretty-printing its JSON.
1 parent 79eb053 commit 0869789

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/apollo/src/commands/queries/extract.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default class ExtractQueries extends Command {
5959
task: (ctx, task) => {
6060
const filename = args.output;
6161
task.title = "Outputing extracted queries to " + filename;
62-
writeFileSync(filename, JSON.stringify(ctx.manifest));
62+
writeFileSync(filename, JSON.stringify(ctx.manifest, null, 2));
6363
}
6464
}
6565
]);

0 commit comments

Comments
 (0)