Skip to content

Commit

Permalink
fix(core): pass root
Browse files Browse the repository at this point in the history
  • Loading branch information
pemsbr committed Mar 23, 2022
1 parent 1f7113d commit 02ee0ab
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/workspace/src/utilities/buildable-libs-utils.ts
Expand Up @@ -50,7 +50,11 @@ export function calculateProjectDependencies(
const depNode = projGraph.nodes[dep] || projGraph.externalNodes[dep];
if (depNode.type === ProjectType.lib) {
if (isBuildable(targetName, depNode)) {
const libPackageJsonFile = join(depNode.data.root, 'package.json');
const libPackageJsonFile = join(
root,
depNode.data.root,
'package.json'
);

project = {
name: fileExists(libPackageJsonFile)
Expand Down

0 comments on commit 02ee0ab

Please sign in to comment.