tap: always create new casks in subdirectory.
For homebrew-cask, all casks should now be created in subdirectories, even if that subdirectory doesn't yet exist.
This commit is contained in:
parent
a7d8ba131e
commit
cf71b5b3ea
@ -1134,9 +1134,6 @@ class CoreCaskTap < AbstractCoreTap
|
||||
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user