Skip to content

Commit 25bb2cd

Browse files
authored
fix(config-nx-scopes): fix for projects without explicit targets (#4261)
1 parent f468271 commit 25bb2cd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

@commitlint/config-nx-scopes/index.js

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ function getProjects(context, selector = () => true) {
3030
tags: project.tags,
3131
})
3232
)
33-
.filter((project) => project.targets)
3433
.map((project) => project.name)
3534
.map((name) => (name.charAt(0) === '@' ? name.split('/')[1] : name));
3635
}

0 commit comments

Comments
 (0)