Skip to content

Commit

Permalink
cleanup(core): naming
Browse files Browse the repository at this point in the history
  • Loading branch information
pemsbr authored and nartc committed Apr 8, 2022
1 parent b9d52d0 commit 9e9aaed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/workspace/src/utilities/buildable-libs-utils.ts
Expand Up @@ -50,15 +50,15 @@ export function calculateProjectDependencies(
const depNode = projGraph.nodes[dep] || projGraph.externalNodes[dep];
if (depNode.type === 'lib') {
if (isBuildable(targetName, depNode)) {
const libPackageJsonFile = join(
const libPackageJsonPath = join(
root,
depNode.data.root,
'package.json'
);

project = {
name: fileExists(libPackageJsonFile)
? readJsonFile(libPackageJsonFile).name // i.e. @workspace/mylib
name: fileExists(libPackageJsonPath)
? readJsonFile(libPackageJsonPath).name // i.e. @workspace/mylib
: dep,
outputs: getOutputsForTargetAndConfiguration(
{
Expand Down

0 comments on commit 9e9aaed

Please sign in to comment.