Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(protocol-designer): indent generated JSON file to make it readab…
…le (#17086) # Overview I have to stare at JSON protocols a lot. Indenting them makes them easier to read, and saves me the trouble of using a separate tool just to reformat the JSON. `JSON.stringify()` has a built-in option for indentation; we just have to call it. ## Test Plan and Hands on Testing I edited a protocol in PD and examined the generated JSON file by hand. I confirmed that the indented JSON files can be successfully re-imported. All the CI tests pass. ## Risk assessment Low risk. The indented JSON files should be entirely semantically equivalent to the unindented ones.
- Loading branch information