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)

(cherry picked from commit cc68012)
  • Loading branch information
AgentEnder authored and FrozenPandaz committed Mar 15, 2023
1 parent b81c398 commit 3811844
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 3811844

Please sign in to comment.