fix(core): wildcard implicit dependency should support scoped project names (#15699)

This commit is contained in:
Craigory Coppola 2023-03-15 18:11:36 -04:00 committed by GitHub
parent be81405a84
commit cc68012978
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {