Skip to content

Commit

Permalink
Merge pull request #18996 from ascherer/sort-casks-with-versions
Browse files Browse the repository at this point in the history
Sort list of '--version'ed casks.
  • Loading branch information
MikeMcQuaid authored Dec 24, 2024
2 parents 18cab73 + 02560c9 commit 882bb52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/cmd/list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def list_casks
else
path.basename.to_s
end
end.uniq
end.uniq.sort
cask_paths.map { |name| Cask::CaskLoader.load(name) }
else
filtered_args = args.named.dup.delete_if do |n|
Expand Down

0 comments on commit 882bb52

Please sign in to comment.