We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8f67192 + a69e5cd commit fba80feCopy full SHA for fba80fe
Library/Homebrew/formula.rb
@@ -1743,7 +1743,7 @@ def outdated_kegs(fetch_head: false)
1743
Formula.cache[:outdated_kegs][cache_key] ||= begin
1744
all_kegs = []
1745
current_version = T.let(false, T::Boolean)
1746
- latest = if core_formula? && Homebrew::EnvConfig.use_internal_api?
+ latest = if core_formula? && Homebrew::EnvConfig.use_internal_api? && Homebrew::API.formula_names.include?(full_name)
1747
Homebrew::API::Internal.formula_stub(full_name)
1748
else
1749
latest_formula
0 commit comments