Homebrew::API::fetch_file_source: remove debug line
This commit is contained in:
parent
b009077c14
commit
c30b489525
@ -62,7 +62,6 @@ module Homebrew
|
|||||||
return cache[endpoint] if cache.present? && cache.key?(endpoint)
|
return cache[endpoint] if cache.present? && cache.key?(endpoint)
|
||||||
|
|
||||||
raw_url = "https://raw.githubusercontent.com/#{repo}/#{endpoint}"
|
raw_url = "https://raw.githubusercontent.com/#{repo}/#{endpoint}"
|
||||||
puts "Fetching #{raw_url}..."
|
|
||||||
output = Utils::Curl.curl_output("--fail", raw_url, max_time: 5)
|
output = Utils::Curl.curl_output("--fail", raw_url, max_time: 5)
|
||||||
raise ArgumentError, "No file found at #{Tty.underline}#{raw_url}#{Tty.reset}" unless output.success?
|
raise ArgumentError, "No file found at #{Tty.underline}#{raw_url}#{Tty.reset}" unless output.success?
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user