Merge pull request #20445 from Homebrew/bump-cask-pr-ensure-new_cask-has-url
bump-cask-pr: ensure new_cask has a url
This commit is contained in:
commit
332af0d5ef
@ -273,6 +273,8 @@ module Homebrew
|
||||
end
|
||||
languages.each do |language|
|
||||
new_cask = Cask::CaskLoader.load(tmp_contents)
|
||||
next unless new_cask.url
|
||||
|
||||
new_cask.config = if language.blank?
|
||||
tmp_cask.config
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user