Skip to content

Commit

Permalink
fix(core): fix cache mismatch in target project locator (#14445)
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav committed 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

1 comment on commit cb122e8

@vercel
Copy link

@vercel vercel bot commented on cb122e8 Jan 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-nrwl.vercel.app
nx.dev
nx-dev-git-master-nrwl.vercel.app
nx-five.vercel.app

Please sign in to comment.