diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb index 88d461e0aa..49402bc07b 100644 --- a/Library/Homebrew/diagnostic.rb +++ b/Library/Homebrew/diagnostic.rb @@ -157,7 +157,7 @@ module Homebrew end return if files.empty? - inject_file_list(files, message) + inject_file_list(files.sort, message) end def check_for_stray_dylibs