Skip to content

Commit

Permalink
fix(core): check for no projects missing before showing error
Browse files Browse the repository at this point in the history
Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
  • Loading branch information
yharaskrik and AgentEnder committed Mar 23, 2022
1 parent 61cad9c commit 21fa587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/workspace/src/utilities/buildable-libs-utils.ts
Expand Up @@ -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')}
Expand Down

0 comments on commit 21fa587

Please sign in to comment.