Fix style
This commit is contained in:
parent
54e013aef6
commit
52263e2917
@ -19,7 +19,7 @@ module Homebrew
|
|||||||
def all_casks
|
def all_casks
|
||||||
@all_casks ||= begin
|
@all_casks ||= begin
|
||||||
json_casks = Homebrew::API.fetch_json_api_file "cask.json",
|
json_casks = Homebrew::API.fetch_json_api_file "cask.json",
|
||||||
target: HOMEBREW_CACHE_API/"cask.json"
|
target: HOMEBREW_CACHE_API/"cask.json"
|
||||||
|
|
||||||
json_casks.to_h do |json_cask|
|
json_casks.to_h do |json_cask|
|
||||||
[json_cask["token"], json_cask.except("token")]
|
[json_cask["token"], json_cask.except("token")]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user