mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 23:16:26 +00:00
refactor: pretty stringify newLockFileContent before returning
This commit is contained in:
parent
3be63784ef
commit
f788845742
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ export async function updateLockedDependency(
|
|||
delete dependency.resolved;
|
||||
delete dependency.integrity;
|
||||
}
|
||||
let newLockFileContent = JSON.stringify(packageLockJson);
|
||||
let newLockFileContent = JSON.stringify(packageLockJson, null, 2);
|
||||
// iterate through the parent updates first
|
||||
for (const parentUpdate of parentUpdates) {
|
||||
const parentUpdateConfig = {
|
||||
|
|
Loading…
Reference in a new issue