cleanup(testing): additional null-check in jest migration
Signed-off-by: AgentEnder <craigorycoppola@gmail.com> ISSUES CLOSED: #6090
This commit is contained in:
parent
013818273d
commit
b873688d41
@ -54,6 +54,6 @@ export default async function update(tree: Tree) {
|
|||||||
|
|
||||||
function checkIfNodeProject(config: ProjectConfiguration) {
|
function checkIfNodeProject(config: ProjectConfiguration) {
|
||||||
return Object.entries(config.targets).some(([targetName, targetConfig]) =>
|
return Object.entries(config.targets).some(([targetName, targetConfig]) =>
|
||||||
targetConfig.executor.includes('node')
|
targetConfig.executor?.includes?.('node')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user