Skip to content

Commit

Permalink
Merge pull request #29187 from andrasczeh/patch-1
Browse files Browse the repository at this point in the history
CLI: Show constraints in error when getting depndencies
  • Loading branch information
kasperpeulen committed Sep 24, 2024
2 parents 60e266a + af8d757 commit 71a3eb4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ export abstract class JsPackageManager {
.find((version) => satisfies(version, constraint));
invariant(
latestVersionSatisfyingTheConstraint != null,
'No version satisfying the constraint.'
`No version satisfying the constraint: ${packageName}${constraint}`
);
return latestVersionSatisfyingTheConstraint;
}
Expand Down

0 comments on commit 71a3eb4

Please sign in to comment.