Skip to content

Commit

Permalink
Merge pull request #444 from dijonkitchen/patch-1
Browse files Browse the repository at this point in the history
fix: resolution ordering
  • Loading branch information
orta authored Dec 28, 2022
2 parents ca67362 + fb14417 commit 0f93ced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/getPackageResolution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export function getPackageResolution({
entry.dependencies && packageDetails.name in entry.dependencies,
)
const pkg = relevantStackEntry.dependencies[packageDetails.name]
return pkg.resolved || pkg.from || pkg.version
return pkg.resolved || pkg.version || pkg.from
}
}

Expand Down

0 comments on commit 0f93ced

Please sign in to comment.