From 21fa5874fc7290478ab0f5f2b86beecdb6a7f14d Mon Sep 17 00:00:00 2001 From: Jay Bell Date: Wed, 23 Mar 2022 09:03:54 -0700 Subject: [PATCH] fix(core): check for no projects missing before showing error Co-authored-by: Craigory Coppola --- packages/workspace/src/utilities/buildable-libs-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/workspace/src/utilities/buildable-libs-utils.ts b/packages/workspace/src/utilities/buildable-libs-utils.ts index 915bf5a08e947c..73fd258f83cf5d 100644 --- a/packages/workspace/src/utilities/buildable-libs-utils.ts +++ b/packages/workspace/src/utilities/buildable-libs-utils.ts @@ -195,7 +195,7 @@ export function checkDependentProjectsHaveBeenBuilt( targetName, projectDependencies ); - if (missing.length === projectDependencies.length) { +if (missing.length === projectDependencies.length && missing.length > 0) { console.error(stripIndents` It looks like all of ${projectName}'s dependencies have not been built yet: ${missing.map((x) => ` - ${x.node.name}`).join('\n')}