info: pass explicit sort to handle APFS

This commit is contained in:
Dominyk Tiller 2017-10-14 06:44:30 +01:00
parent c9684c3727
commit 9a323c5107
No known key found for this signature in database
GPG Key ID: FE19AEFCF658C6F6

View File

@ -67,9 +67,9 @@ module Homebrew
def print_json def print_json
ff = if ARGV.include? "--all" ff = if ARGV.include? "--all"
Formula Formula.sort
elsif ARGV.include? "--installed" elsif ARGV.include? "--installed"
Formula.installed Formula.installed.sort
else else
ARGV.formulae ARGV.formulae
end end