Merge pull request #15970 from Homebrew/sorbet-files-update

sorbet: Update RBI files.
This commit is contained in:
Mike McQuaid 2023-09-06 10:10:45 -04:00 committed by GitHub
commit 4dc550fb2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -2,6 +2,7 @@
# frozen_string_literal: true
require "source_location"
require "utils/curl"
module Cask
# Class corresponding to the `url` stanza.
@ -104,7 +105,7 @@ module Cask
sig { returns(T.any(T.any(URI::Generic, String), [T.any(URI::Generic, String), Hash])) }
def call
if @uri
result = curl_output("--fail", "--silent", "--location", @uri)
result = ::Utils::Curl.curl_output("--fail", "--silent", "--location", @uri)
result.assert_success!
page = result.stdout

View File

@ -5737,7 +5737,6 @@ end
class Object
include ::Minitest::Expectations
include ::SystemCommand::Mixin
include ::Utils::Curl
def __send(*arg); end
def __send!(*arg); end