Skip to content

Commit

Permalink
fix(core): wildcard implicit dependency should support scoped project…
Browse files Browse the repository at this point in the history
… names (#15699)
  • Loading branch information
AgentEnder committed Mar 15, 2023
1 parent be81405 commit cc68012
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/nx/src/utils/find-matching-projects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ export function findMatchingProjects(
const exclude = nameOrGlob.startsWith('!');
const pattern = exclude ? nameOrGlob.substring(1) : nameOrGlob;

const matchedProjectNames = minimatch.match(projectNames, pattern);
const matchedProjectNames =
pattern === '*' ? projectNames : minimatch.match(projectNames, pattern);

matchedProjectNames.forEach((matchedProjectName) => {
if (exclude) {
Expand Down

1 comment on commit cc68012

@vercel
Copy link

@vercel vercel bot commented on cc68012 Mar 15, 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-git-master-nrwl.vercel.app
nx.dev
nx-five.vercel.app

Please sign in to comment.