Fix mismatch_binary_allowlist check

This commit is contained in:
Rylan Polster 2021-10-21 21:22:18 -04:00
parent 9ca0f68bf7
commit c0e8569c93
No known key found for this signature in database
GPG Key ID: 46A744940CFF4D64

View File

@ -338,7 +338,8 @@ module FormulaCellarChecks
end
return if mismatches.empty? && universal_binaries_expected
mismatches_expected = formula.tap&.audit_exception(:mismatched_binary_allowlist, formula.name) || true
mismatches_expected = formula.tap.blank? ||
formula.tap.audit_exception(:mismatched_binary_allowlist, formula.name)
return if compatible_universal_binaries.empty? && mismatches_expected
return if universal_binaries_expected && mismatches_expected