diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-10-21 14:17:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-21 14:17:08 -0400 |
commit | 39fb55096ec12c8c18d15dff63a750a22169e3e6 (patch) | |
tree | 1e93aae8a6b35f0d6341941e204d583a218eef93 /tests/specs/install/install_add_dev | |
parent | 9fe2bf42dc584779cc43f0ec15a5a3d6dddca283 (diff) |
fix(install): better json editing (#26450)
1. Respects the formatting of the file (ex. keeps four space indents or
tabs).
2. Handles editing of comments.
3. Handles trailing commas.
4. Code is easier to maintain.
Diffstat (limited to 'tests/specs/install/install_add_dev')
-rw-r--r-- | tests/specs/install/install_add_dev/package.json | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/specs/install/install_add_dev/package.json b/tests/specs/install/install_add_dev/package.json index d5ca56e00..0967ef424 100644 --- a/tests/specs/install/install_add_dev/package.json +++ b/tests/specs/install/install_add_dev/package.json @@ -1,3 +1 @@ -{ - "devDependencies": { "@denotest/esm-basic": "^1.0.0" } -} +{} |