Skip to content
Snippets Groups Projects
Commit f7888457 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

refactor: pretty stringify newLockFileContent before returning

parent 3be63784
No related branches found
No related tags found
No related merge requests found
...@@ -157,7 +157,7 @@ export async function updateLockedDependency( ...@@ -157,7 +157,7 @@ export async function updateLockedDependency(
delete dependency.resolved; delete dependency.resolved;
delete dependency.integrity; delete dependency.integrity;
} }
let newLockFileContent = JSON.stringify(packageLockJson); let newLockFileContent = JSON.stringify(packageLockJson, null, 2);
// iterate through the parent updates first // iterate through the parent updates first
for (const parentUpdate of parentUpdates) { for (const parentUpdate of parentUpdates) {
const parentUpdateConfig = { const parentUpdateConfig = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment