Skip to content

fix(arborist): warn once for workspace packageExtensions selector match#9570

Merged
owlstronaut merged 1 commit into
npm:latestfrom
manzoorwanijk:fix/package-extensions-duplicate-workspace-warning
Jun 18, 2026
Merged

fix(arborist): warn once for workspace packageExtensions selector match#9570
owlstronaut merged 1 commit into
npm:latestfrom
manzoorwanijk:fix/package-extensions-duplicate-workspace-warning

Conversation

@manzoorwanijk

Copy link
Copy Markdown
Contributor

A workspace packageExtensions warning was printed twice per matching workspace. A workspace appears in the inventory as two isWorkspace nodes — the Link and its target — and #warnWorkspacePackageExtensions warned for both. The fix skips the link (node.isLink) so each workspace is warned once via its target node; the selector/wouldMatch checks are otherwise unchanged.

References

Follow up of #9496

@manzoorwanijk manzoorwanijk marked this pull request as ready for review June 18, 2026 18:57
@manzoorwanijk manzoorwanijk requested review from a team as code owners June 18, 2026 18:57
@owlstronaut owlstronaut merged commit cfda867 into npm:latest Jun 18, 2026
22 checks passed
@manzoorwanijk manzoorwanijk deleted the fix/package-extensions-duplicate-workspace-warning branch June 19, 2026 04:52
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