Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(@schematics/angular): JsonUtils should respect indent
This commit fixes a few issues with json-utils: 1. The implementation is lacking tests 2. The implementation hardcodes indent = 2 in many places and does not respect the `indent` parameter passed by users 3. The implementation is buggy when passed an empty object or array
- Loading branch information
Showing
2 changed files
with
155 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters