Skip to content

Commit

Permalink
#23619 Show constraints in error when getting depndencies
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasczeh committed Sep 24, 2024
1 parent 0811ca8 commit af8d757
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 af8d757

Please sign in to comment.