Skip to content

Commit

Permalink
Merge pull request #17778 from kmontag/fix-missing-tap-requires
Browse files Browse the repository at this point in the history
Fix missing requires for `tap-info` command
  • Loading branch information
apainintheneck committed Jul 19, 2024
2 parents 61f5e2b + 06a50ea commit c7342c5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Library/Homebrew/api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ def self.fetch(endpoint)
}
def self.fetch_json_api_file(endpoint, target: HOMEBREW_CACHE_API/endpoint,
stale_seconds: Homebrew::EnvConfig.api_auto_update_secs.to_i)
# Lazy-load dependency.
require "development_tools"

retry_count = 0
url = "#{Homebrew::EnvConfig.api_domain}/#{endpoint}"
default_url = "#{HOMEBREW_API_DEFAULT_DOMAIN}/#{endpoint}"
Expand Down
1 change: 1 addition & 0 deletions Library/Homebrew/downloadable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

require "url"
require "checksum"
require "download_strategy"

class Downloadable
include Context
Expand Down
1 change: 1 addition & 0 deletions Library/Homebrew/tap.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# typed: true
# frozen_string_literal: true

require "api"
require "commands"
require "settings"

Expand Down

0 comments on commit c7342c5

Please sign in to comment.