Skip to content

Commit

Permalink
tap: always create new casks in subdirectory.
Browse files Browse the repository at this point in the history
For homebrew-cask, all casks should now be created in subdirectories,
even if that subdirectory doesn't yet exist.
  • Loading branch information
MikeMcQuaid committed Aug 9, 2023
1 parent a7d8ba1 commit cf71b5b
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 cf71b5b

Please sign in to comment.