Skip to content

Commit

Permalink
Merge pull request #15847 from MikeMcQuaid/all_casks_subdirectory
Browse files Browse the repository at this point in the history
tap: always create new casks in subdirectory.
  • Loading branch information
MikeMcQuaid committed Aug 9, 2023
2 parents 319faed + cf71b5b commit f18aa6f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Library/Homebrew/tap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1134,9 +1134,6 @@ def core_cask_tap?
sig { params(token: String).returns(Pathname) }
def new_cask_path(token)
cask_subdir = token[0].to_s

return super unless (cask_dir/cask_subdir).directory?

cask_dir/cask_subdir/"#{token.downcase}.rb"
end

Expand Down

0 comments on commit f18aa6f

Please sign in to comment.