Merge pull request #12092 from carlocab/binary-arch-edge-case

formula_cellar_checks: fix edge case handling in `check_binary_arches`
This commit is contained in:
Carlo Cabrera 2021-09-21 16:43:57 +08:00 committed by GitHub
commit 1f3de1d5b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -341,6 +341,8 @@ module FormulaCellarChecks
mismatches_expected = formula.tap.blank? || tap_audit_exception(:mismatched_binary_allowlist, formula.name)
return if compatible_universal_binaries.empty? && mismatches_expected
return if universal_binaries_expected && mismatches_expected
s = ""
if mismatches.present? && !mismatches_expected