Permalink
Browse files

Merge pull request #3380 from jmsundar/apfs_tap-info

tap-info: handle APFS returning hash order
  • Loading branch information...
MikeMcQuaid committed Oct 28, 2017
2 parents b2e2e4b + ea7d356 commit 7caca570736a6232512328992b398270dbbf3f4f
Showing with 2 additions and 3 deletions.
  1. +2 −3 Library/Homebrew/cmd/tap-info.rb
@@ -21,7 +21,6 @@ module Homebrew
module_function
def tap_info
# TODO: This still returns a non-alphabetised list on APFS.
if ARGV.include? "--installed"
taps = Tap
else
@@ -31,9 +30,9 @@ def tap_info
end
if ARGV.json == "v1"
print_tap_json(taps)
print_tap_json(taps.sort_by(&:to_s))
else
print_tap_info(taps)
print_tap_info(taps.sort_by(&:to_s))
end
end

0 comments on commit 7caca57

Please sign in to comment.