diff options
| author | Jayendra Minakshisundar | 2017-10-27 11:38:37 +0530 |
|---|---|---|
| committer | Jayendra Minakshisundar | 2017-10-27 11:41:00 +0530 |
| commit | 590f06187f252bc7e03874bc51bfeb1ebcd5a139 (patch) | |
| tree | e8376843f435596b46301e10f848d54687d3f1fb /Library/Homebrew | |
| parent | badbb00b0867846afa6d55275bca4edff959e908 (diff) | |
| download | brew-590f06187f252bc7e03874bc51bfeb1ebcd5a139.tar.bz2 | |
tap-info: sort taps by name to handle APFS
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/cmd/tap-info.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/tap-info.rb b/Library/Homebrew/cmd/tap-info.rb index d01ce8a02..06ba335d8 100644 --- a/Library/Homebrew/cmd/tap-info.rb +++ b/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 @@ module Homebrew end if ARGV.json == "v1" - print_tap_json(taps) + print_tap_json(taps.sort_by {|tap| tap.to_s}) else - print_tap_info(taps) + print_tap_info(taps.sort_by {|tap| tap.to_s}) end end |
