diagnostic: pass explicit sort to handle APFS

This commit is contained in:
Dominyk Tiller
2017-10-14 06:35:25 +01:00
parent 795c7170e3
commit 16ea29a641
+1 -1
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?