fix(core): wildcard implicit dependency should support scoped project names (#15699)
This commit is contained in:
parent
be81405a84
commit
cc68012978
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user