Fix style

The linter complained about useless assignment to
`universal_binaries_expected`. It wasn't useless, but ok.
This commit is contained in:
Carlo Cabrera 2021-07-20 18:48:40 +08:00
parent 239fd06728
commit 663aee0a67
No known key found for this signature in database
GPG Key ID: C74D447FC549A1D0

View File

@ -330,9 +330,10 @@ module FormulaCellarChecks
end
mismatches -= compatible_universal_binaries
universal_binaries_expected = true
universal_binaries_expected = if formula.tap.present? && formula.tap.core_tap?
tap_audit_exception(:universal_binary_allowlist, formula.name)
else
true
end
return if mismatches.empty? && universal_binaries_expected