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
  • Loading branch information
meeroslav committed Apr 19, 2023
1 parent 2734401 commit 90a6e74
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 90a6e74

Please sign in to comment.