From 52263e291779f2be5ae344984af14bb482f6a688 Mon Sep 17 00:00:00 2001 From: Rylan Polster Date: Mon, 2 Jan 2023 13:03:57 -0500 Subject: [PATCH] Fix style --- Library/Homebrew/api/cask.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/api/cask.rb b/Library/Homebrew/api/cask.rb index aca14406a8..f0ed248cdf 100644 --- a/Library/Homebrew/api/cask.rb +++ b/Library/Homebrew/api/cask.rb @@ -18,8 +18,8 @@ module Homebrew sig { returns(Hash) } def all_casks @all_casks ||= begin - json_casks = Homebrew::API.fetch_json_api_file "cask.json", - target: HOMEBREW_CACHE_API/"cask.json" + json_casks = Homebrew::API.fetch_json_api_file "cask.json", + target: HOMEBREW_CACHE_API/"cask.json" json_casks.to_h do |json_cask| [json_cask["token"], json_cask.except("token")]