After brew typecheck --fix

This commit is contained in:
Mohammad Zain Abbas 2022-08-02 00:54:18 +02:00
parent 26cdf02506
commit ac614e29f9

View File

@ -269,7 +269,7 @@ module Homebrew
end
current_str = current.to_s
current = LivecheckVersion.create(formula_or_cask, current)
current = T.let(LivecheckVersion.create(formula_or_cask, current), T.untyped)
latest = if formula&.head_only?
formula.head.downloader.fetch_last_commit
@ -321,7 +321,7 @@ module Homebrew
end
latest_str = latest.to_s
latest = LivecheckVersion.create(formula_or_cask, latest)
latest = T.let(LivecheckVersion.create(formula_or_cask, latest), T.untyped)
is_outdated = if formula&.head_only?
# A HEAD-only formula is considered outdated if the latest upstream