Skip to content

Commit

Permalink
fix(core): do not expect each package to have hoisted version in lock…
Browse files Browse the repository at this point in the history
…file (nrwl#16393)
  • Loading branch information
meeroslav committed Apr 20, 2023
1 parent 4a4fc19 commit a51ac58
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ function findNodeMatchingVersion(
return nodes.sort((a, b) => +gte(b.data.version, a.data.version))[0];
}
if (
graph.externalNodes[`npm:${packageName}`] &&
satisfies(
graph.externalNodes[`npm:${packageName}`].data.version,
versionExpr
Expand Down

0 comments on commit a51ac58

Please sign in to comment.