Skip to content

Commit

Permalink
storybookjs#23619 Show constraints in error when getting depndencies
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasczeh authored Sep 23, 2024
1 parent b23e84a commit e0d62e2
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 e0d62e2

Please sign in to comment.