Skip to content

Commit

Permalink
Merge pull request #182689 from daeho-ro/casks-without-zap
Browse files Browse the repository at this point in the history
  • Loading branch information
p-linnane authored Aug 18, 2024
2 parents 9fe1294 + 07b0396 commit 7eb8440
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions developer/bin/casks-without-zap
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 7eb8440

Please sign in to comment.