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 (nrwl#15699)
  • Loading branch information
AgentEnder authored and meeroslav committed Mar 16, 2023
1 parent 172bba2 commit fce0637
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

0 comments on commit fce0637

Please sign in to comment.