diff options
| author | Xu Cheng | 2015-07-22 16:34:08 +0800 | 
|---|---|---|
| committer | Xu Cheng | 2015-07-22 16:34:08 +0800 | 
| commit | 2648684b3b37e751a00648535ea3c69a897ec434 (patch) | |
| tree | c0ebd24f2ccb0108e4c3489415709e0906171334 /Library/Homebrew/cmd | |
| parent | 51810ae1eab1a7952c0f67e25318ddf93522e572 (diff) | |
| download | brew-2648684b3b37e751a00648535ea3c69a897ec434.tar.bz2 | |
audit: rename audit_patches to audit_legacy_patches
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 90e491690..b79e90f54 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) }  | 
