formula_installer: tweak style.
This commit is contained in:
parent
e56fde6584
commit
06daff1621
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user