Skip to content

Commit

Permalink
fix(npm): Don't skip lockfile-only updates (#33497)
Browse files Browse the repository at this point in the history
  • Loading branch information
zharinov authored Jan 10, 2025
1 parent 558e73c commit 4aab664
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/modules/manager/npm/post-update/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -370,14 +370,6 @@ export async function getAdditionalFiles(
logger.debug('Skipping lock file generation');
return { artifactErrors, updatedArtifacts };
}
if (
config.reuseExistingBranch &&
!config.updatedPackageFiles?.length &&
config.upgrades?.every((upgrade) => upgrade.isLockfileUpdate)
) {
logger.debug('Existing branch contains all necessary lock file updates');
return { artifactErrors, updatedArtifacts };
}
logger.debug('Getting updated lock files');
if (
config.updateType === 'lockFileMaintenance' &&
Expand Down

0 comments on commit 4aab664

Please sign in to comment.