Fix type errors

This commit is contained in:
Nanda H Krishna 2024-07-15 13:32:59 -04:00
parent d2d814414e
commit 81e606007f
No known key found for this signature in database
GPG Key ID: 067E5FCD58ADF3AA

View File

@ -136,7 +136,7 @@ module Homebrew
if Homebrew::Attestation.enabled?
if formulae.include?(Formula["gh"])
formulae.unshift(T.must(formulae.delete(Formula["gh"])))
formulae.unshift(formulae.delete(Formula["gh"]))
else
Homebrew::Attestation.ensure_gh_installed!
end