Skip to content

Commit

Permalink
fix(core): fix cache mismatch in target project locator (nrwl#14445)
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav authored Jan 17, 2023
1 parent 23c2327 commit cb122e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nx/src/utils/target-project-locator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export class TargetProjectLocator {
importExpr.startsWith(`${project.name}/`)
);
if (project) {
this.npmResolutionCache.set(importExpr, project.name);
this.projectResolutionCache.set(importExpr, project.name);
return project.name;
}
}
Expand Down

0 comments on commit cb122e8

Please sign in to comment.