Merge pull request #20571 from Homebrew/formula_cellar_checks-avoid-changing-name
formula_cellar_checks: avoid changing name
This commit is contained in:
commit
8b2209bc26
@ -373,7 +373,7 @@ module FormulaCellarChecks
|
||||
universal_binaries_expected = if (formula_tap = formula.tap).present? && formula_tap.core_tap?
|
||||
formula_name = formula.name
|
||||
# Apply audit exception to versioned formulae too from the unversioned name.
|
||||
formula_name.gsub!(/@\d+(\.\d+)*$/, "") if formula.versioned_formula?
|
||||
formula_name = formula_name.gsub(/@\d+(\.\d+)*$/, "") if formula.versioned_formula?
|
||||
formula_tap.audit_exception(:universal_binary_allowlist, formula_name)
|
||||
else
|
||||
true
|
||||
|
Loading…
x
Reference in New Issue
Block a user