Skip to content

Conversation

@jordanoverbye
Copy link

@jordanoverbye jordanoverbye commented Nov 11, 2025

What's the problem this PR addresses?

Currently the dedupe command always runs project.installWithNewReport() even when no packages need deduplication, causing unnecessary installs and lockfile updates.

How did you fix it?

Exit early if no packages need deduping. Only run project.installWithNewReport() when necessary.

Checklist

  • I have read the Contributing Guide.
  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@jordanoverbye jordanoverbye force-pushed the joverbye-dedupe-optimisation branch from c674609 to 2577eed Compare November 11, 2025 07:09
@jordanoverbye jordanoverbye marked this pull request as ready for review November 11, 2025 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants