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}")
|
new("#{tap}/#{token}")
|
||||||
end
|
end
|
||||||
|
|
||||||
sig { params(tapped_name: String).void }
|
sig { params(tapped_token: String).void }
|
||||||
def initialize(tapped_name)
|
def initialize(tapped_token)
|
||||||
user, repo, token = tapped_name.split("/", 3)
|
user, repo, token = tapped_token.split("/", 3)
|
||||||
tap = Tap.fetch(user, repo)
|
tap = Tap.fetch(user, repo)
|
||||||
cask = CaskLoader.find_cask_in_tap(token, tap)
|
cask = CaskLoader.find_cask_in_tap(token, tap)
|
||||||
super cask
|
super cask
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user