Skip to content

Commit

Permalink
Fix exeption when calling brew unbottled
Browse files Browse the repository at this point in the history
  • Loading branch information
dduugg committed Feb 14, 2023
1 parent 95742f4 commit dc8b473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/api/formula.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def fetch(name)
Homebrew::API.fetch "formula/#{name}.json"
end

sig { returns(Hash) }
sig { returns(T.any(Array, Hash)) }
def all_formulae
@all_formulae ||= begin
json_formulae = Homebrew::API.fetch_json_api_file "formula.json",
Expand Down

0 comments on commit dc8b473

Please sign in to comment.