Use token instead of name for casks.
This commit is contained in:
parent
6e5b6b7cc9
commit
732e4438f4
@ -225,9 +225,9 @@ module Cask
|
||||
new("#{tap}/#{token}")
|
||||
end
|
||||
|
||||
sig { params(tapped_name: String).void }
|
||||
def initialize(tapped_name)
|
||||
user, repo, token = tapped_name.split("/", 3)
|
||||
sig { params(tapped_token: String).void }
|
||||
def initialize(tapped_token)
|
||||
user, repo, token = tapped_token.split("/", 3)
|
||||
tap = Tap.fetch(user, repo)
|
||||
cask = CaskLoader.find_cask_in_tap(token, tap)
|
||||
super cask
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user