Skip to content

Commit

Permalink
Remove unnecessary decouple checks
Browse files Browse the repository at this point in the history
  • Loading branch information
L-Qun committed Jan 13, 2025
1 parent a15fef5 commit ecfcfe0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@microsoft/rush",
"comment": "Remove unnecessary decouple checks",
"type": "none"
}
],
"packageName": "@microsoft/rush"
}
2 changes: 1 addition & 1 deletion libraries/rush-lib/src/api/RushConfigurationProject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ export class RushConfigurationProject {
// Skip if we can't find the local project or it's a cyclic dependency
const localProject: RushConfigurationProject | undefined =
this.rushConfiguration.getProjectByName(dependencyName);
if (localProject && !this.decoupledLocalDependencies.has(dependency)) {
if (localProject) {
// Set the value if it's a workspace project, or if we have a local project and the semver is satisfied
switch (dependencySpecifier.specifierType) {
case DependencySpecifierType.Version:
Expand Down

0 comments on commit ecfcfe0

Please sign in to comment.