formula_installer: tweak style.

This commit is contained in:
Mike McQuaid 2024-07-13 16:05:35 -04:00 committed by GitHub
parent e56fde6584
commit 06daff1621
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1260,10 +1260,10 @@ on_request: installed_on_request?, options:)
# to explicitly `brew install gh` without already having a version for bootstrapping. # to explicitly `brew install gh` without already having a version for bootstrapping.
# We also skip bottle installs from local bottle paths, as these are done in CI # We also skip bottle installs from local bottle paths, as these are done in CI
# as part of the build lifecycle before attestations are produced. # as part of the build lifecycle before attestations are produced.
if Homebrew::Attestation.enabled? \ if Homebrew::Attestation.enabled? &&
&& formula.tap&.core_tap? \ formula.tap&.core_tap? &&
&& formula.name != "gh" \ formula.name != "gh" &&
&& formula.local_bottle_path.blank? formula.local_bottle_path.blank?
ohai "Verifying attestation for #{formula.name}" ohai "Verifying attestation for #{formula.name}"
begin begin
Homebrew::Attestation.check_core_attestation formula.bottle Homebrew::Attestation.check_core_attestation formula.bottle