Merge pull request #3635 from commitay/audit-sort

audit: pass explicit sort to handle APFS
This commit is contained in:
Mike McQuaid 2018-01-07 09:41:32 +00:00 committed by GitHub
commit 4438fe1175
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,7 +102,7 @@ module Homebrew
# Check style in a single batch run up front for performance
style_results = check_style_json(files, options)
ff.each do |f|
ff.sort.each do |f|
options = { new_formula: new_formula, strict: strict, online: online }
options[:style_offenses] = style_results.file_offenses(f.path)
fa = FormulaAuditor.new(f, options)