diff --git a/packages/nx/src/command-line/release/plan.ts b/packages/nx/src/command-line/release/plan.ts index 6ce9569811097..4c10b2cc7dc50 100644 --- a/packages/nx/src/command-line/release/plan.ts +++ b/packages/nx/src/command-line/release/plan.ts @@ -77,7 +77,7 @@ export function createAPI(overrideReleaseConfig: NxReleaseConfiguration) { } // If no release groups have version plans enabled, it doesn't make sense to use the plan command only to set yourself up for an error at release time - if (!releaseGroups.some((group) => group.versionPlans === true)) { + if (!releaseGroups.some((group) => !!group.versionPlans)) { if (releaseGroups.length === 1) { output.warn({ title: `Version plans are not enabled in your release configuration`,