Remove T.unsafe usage

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Rylan Polster 2024-09-10 13:44:02 -04:00
parent 8cb62b1398
commit 711d2220b8
No known key found for this signature in database

View File

@ -517,7 +517,7 @@ module Cask
end end
sig { params(path: T.any(Pathname, String), token: String).void } sig { params(path: T.any(Pathname, String), token: String).void }
def initialize(path, token: T.unsafe(nil)) def initialize(path, token: "")
super super
installed_tap = Cask.new(@token).tab.tap installed_tap = Cask.new(@token).tab.tap