From 4213ea805101b7cf39a6ec636ad86d6120dc81ef Mon Sep 17 00:00:00 2001 From: Gustavo Perdomo Date: Tue, 28 Jan 2025 15:20:02 -0300 Subject: [PATCH] fix(config-nx-scopes): fix for projects without explicit targets --- @commitlint/config-nx-scopes/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/@commitlint/config-nx-scopes/index.js b/@commitlint/config-nx-scopes/index.js index fb2b4a5c6b..5251f49492 100644 --- a/@commitlint/config-nx-scopes/index.js +++ b/@commitlint/config-nx-scopes/index.js @@ -30,7 +30,6 @@ function getProjects(context, selector = () => true) { tags: project.tags, }) ) - .filter((project) => project.targets) .map((project) => project.name) .map((name) => (name.charAt(0) === '@' ? name.split('/')[1] : name)); }