mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Fix mismatch_binary_allowlist
check
This commit is contained in:
parent
9ca0f68bf7
commit
c0e8569c93
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user