Merge pull request #18042 from Homebrew/download-typed-strict
This commit is contained in:
commit
79d887afa2
@ -1,4 +1,4 @@
|
|||||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
# typed: strict
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require "downloadable"
|
require "downloadable"
|
||||||
@ -23,7 +23,7 @@ module Homebrew
|
|||||||
}
|
}
|
||||||
def initialize(url, checksum, mirrors: [], cache: nil)
|
def initialize(url, checksum, mirrors: [], cache: nil)
|
||||||
super()
|
super()
|
||||||
@url = URL.new(url, using: API::DownloadStrategy)
|
@url = T.let(URL.new(url, using: API::DownloadStrategy), URL)
|
||||||
@checksum = checksum
|
@checksum = checksum
|
||||||
@mirrors = mirrors
|
@mirrors = mirrors
|
||||||
@cache = cache
|
@cache = cache
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user