cask/artifact/relocated: widen type

This commit is contained in:
Jonathan Chang 2022-09-10 11:51:54 -07:00
parent 65ab951b80
commit a085f235f1
No known key found for this signature in database
GPG Key ID: 4141E708ACE9F4F8

View File

@ -42,7 +42,7 @@ module Cask
attr_reader :source, :target
sig {
params(cask: Cask, source: T.nilable(T.any(String, Pathname)), target_hash: String)
params(cask: Cask, source: T.nilable(T.any(String, Pathname)), target_hash: T.any(String, Pathname))
.void
}
def initialize(cask, source, **target_hash)