audit: rename audit_patches to audit_legacy_patches
This commit is contained in:
parent
51810ae1ea
commit
2648684b3b
@ -519,7 +519,7 @@ class FormulaAuditor
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def audit_patches
|
def audit_legacy_patches
|
||||||
return unless formula.respond_to?(:patches)
|
return unless formula.respond_to?(:patches)
|
||||||
legacy_patches = Patch.normalize_legacy_patches(formula.patches).grep(LegacyPatch)
|
legacy_patches = Patch.normalize_legacy_patches(formula.patches).grep(LegacyPatch)
|
||||||
if legacy_patches.any?
|
if legacy_patches.any?
|
||||||
@ -885,7 +885,7 @@ class FormulaAuditor
|
|||||||
audit_deps
|
audit_deps
|
||||||
audit_conflicts
|
audit_conflicts
|
||||||
audit_options
|
audit_options
|
||||||
audit_patches
|
audit_legacy_patches
|
||||||
audit_text
|
audit_text
|
||||||
audit_caveats
|
audit_caveats
|
||||||
text.without_patch.split("\n").each_with_index { |line, lineno| audit_line(line, lineno+1) }
|
text.without_patch.split("\n").each_with_index { |line, lineno| audit_line(line, lineno+1) }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user