tap-info: pass explicit sort to handle APFS

This commit is contained in:
Dominyk Tiller 2017-10-14 05:47:17 +01:00
parent e308df25a9
commit 35fae7ce6a
No known key found for this signature in database
GPG Key ID: FE19AEFCF658C6F6

View File

@ -21,10 +21,11 @@ module Homebrew
module_function module_function
def tap_info def tap_info
# TODO: This still returns a non-alphabetised list on APFS.
if ARGV.include? "--installed" if ARGV.include? "--installed"
taps = Tap taps = Tap
else else
taps = ARGV.named.map do |name| taps = ARGV.named.sort.map do |name|
Tap.fetch(name) Tap.fetch(name)
end end
end end