fix(core): do not return a default project when nxJson is undefined (#15432)
This commit is contained in:
parent
8c1d035b0b
commit
17a0d2c085
@ -64,7 +64,7 @@ export class Workspaces {
|
|||||||
});
|
});
|
||||||
if (matchingProject) return matchingProject;
|
if (matchingProject) return matchingProject;
|
||||||
}
|
}
|
||||||
return nxJson.defaultProject;
|
return nxJson?.defaultProject;
|
||||||
}
|
}
|
||||||
|
|
||||||
readProjectsConfigurations(opts?: {
|
readProjectsConfigurations(opts?: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user