diagnostic: pass explicit sort to handle APFS

This commit is contained in:
Dominyk Tiller 2017-10-14 06:23:18 +01:00
parent 795c7170e3
commit 16ea29a641
No known key found for this signature in database
GPG Key ID: FE19AEFCF658C6F6

View File

@ -804,7 +804,7 @@ module Homebrew
def check_for_linked_keg_only_brews
return unless HOMEBREW_CELLAR.exist?
linked = Formula.installed.select do |f|
linked = Formula.installed.sort.select do |f|
f.keg_only? && __check_linked_brew(f)
end
return if linked.empty?