Skip to content

Commit

Permalink
Use the same Find function in "show" as in "show --jekyll" (#1452)
Browse files Browse the repository at this point in the history
This fixes #1402.
  • Loading branch information
mgrojo authored Sep 13, 2023
1 parent eb1e0b8 commit afd9397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/alr/alr-commands-show.adb
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ package body Alr.Commands.Show is
Rel : constant Alire.Releases.Release :=
(if Current
then Cmd.Root.Release
else Query.Find (Name, Versions, Query_Policy));
else Cmd.Find_Target_Release (Name, Versions, Current));
begin
Put_Line ("---");
Put_Line ("layout: crate");
Expand Down

0 comments on commit afd9397

Please sign in to comment.