From 2648684b3b37e751a00648535ea3c69a897ec434 Mon Sep 17 00:00:00 2001 From: Xu Cheng Date: Wed, 22 Jul 2015 16:34:08 +0800 Subject: [PATCH] audit: rename audit_patches to audit_legacy_patches --- Library/Homebrew/cmd/audit.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 90e4916901..b79e90f54d 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -519,7 +519,7 @@ class FormulaAuditor end end - def audit_patches + def audit_legacy_patches return unless formula.respond_to?(:patches) legacy_patches = Patch.normalize_legacy_patches(formula.patches).grep(LegacyPatch) if legacy_patches.any? @@ -885,7 +885,7 @@ class FormulaAuditor audit_deps audit_conflicts audit_options - audit_patches + audit_legacy_patches audit_text audit_caveats text.without_patch.split("\n").each_with_index { |line, lineno| audit_line(line, lineno+1) }