mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-13 07:26: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.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 = {
|
||||||
|
|
Loading…
Reference in a new issue