Skip to content

Commit

Permalink
resolve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
L-Qun committed Jan 10, 2025
1 parent 728cab1 commit 8b12ed8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,9 @@ export class WorkspaceInstallManager extends BaseInstallManager {

// If we enable disableCrossSubspaceChecking, it will only check dependencies within the subspace.
if (this.rushConfiguration.experimentsConfiguration.configuration.disableCrossSubspaceChecking) {
referencedLocalProject = subspace
.getProjects()
.filter((project) => project.packageName === name)[0];
if (referencedLocalProject && subspace.contains(referencedLocalProject)) {
referencedLocalProject = undefined;
}
}

// Validate that local projects are referenced with workspace notation. If not, and it is not a
Expand Down

0 comments on commit 8b12ed8

Please sign in to comment.