From 07b03961520e83257c23d491c6d36e96a785a978 Mon Sep 17 00:00:00 2001 From: Daeho Ro Date: Sat, 17 Aug 2024 22:00:30 +0900 Subject: [PATCH] fix path to string error, remove deprecated tap --- developer/bin/casks-without-zap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/developer/bin/casks-without-zap b/developer/bin/casks-without-zap index 376e88133523..2ee5c7778975 100755 --- a/developer/bin/casks-without-zap +++ b/developer/bin/casks-without-zap @@ -18,7 +18,7 @@ at_exit { FileUtils.rm_r(TMP_DIR) } # Constants ONLINE_ISSUE = "https://github.com/Homebrew/homebrew-cask/issues/88469" -CASK_REPOS = %w[homebrew-cask homebrew-cask-versions].freeze +CASK_REPOS = %w[homebrew-cask].freeze CASK_JSON_URL = "https://formulae.brew.sh/api/analytics/cask-install/365d.json" # Download the file and save it to the specified directory @@ -75,7 +75,7 @@ ALL_CASKS = CASK_DIRS.each_with_object({}) do |tap_dir, casks| casks[tap_dir] = [] # Recursively find all Ruby files in the tap directory - Find.find(tap_dir) do |path| + Find.find(tap_dir.to_s) do |path| # Skip if not a file or not a Ruby file next unless File.file?(path) next if File.extname(path) != ".rb"