aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominyk Tiller2017-10-14 06:44:30 +0100
committerDominyk Tiller2017-10-14 06:44:37 +0100
commit9a323c51078ee9c900fda3ee6b88d1c1e3b26b8f (patch)
treedcc9a08e2fd7482022095cb9e88a0eae8cde1b47
parentc9684c372754ae1e1335ccf27eda128079ff65d0 (diff)
downloadbrew-9a323c51078ee9c900fda3ee6b88d1c1e3b26b8f.tar.bz2
info: pass explicit sort to handle APFS
-rw-r--r--Library/Homebrew/cmd/info.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/info.rb b/Library/Homebrew/cmd/info.rb
index 5eb033706..6ee24a7fa 100644
--- a/Library/Homebrew/cmd/info.rb
+++ b/Library/Homebrew/cmd/info.rb
@@ -67,9 +67,9 @@ module Homebrew
def print_json
ff = if ARGV.include? "--all"
- Formula
+ Formula.sort
elsif ARGV.include? "--installed"
- Formula.installed
+ Formula.installed.sort
else
ARGV.formulae
end