Merge pull request #3380 from jmsundar/apfs_tap-info
tap-info: handle APFS returning hash order
This commit is contained in:
commit
7caca57073
@ -21,7 +21,6 @@ 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
|
||||||
@ -31,9 +30,9 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
|
|
||||||
if ARGV.json == "v1"
|
if ARGV.json == "v1"
|
||||||
print_tap_json(taps)
|
print_tap_json(taps.sort_by(&:to_s))
|
||||||
else
|
else
|
||||||
print_tap_info(taps)
|
print_tap_info(taps.sort_by(&:to_s))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user