Merge pull request #8572 from Akylzhan/patch-1

Update cask/installer.rb: check deps before download
This commit is contained in:
Mike McQuaid 2020-09-02 14:22:05 +01:00 committed by GitHub
commit 3b114736ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,10 +62,10 @@ module Cask
odebug "Cask::Installer#fetch" odebug "Cask::Installer#fetch"
verify_has_sha if require_sha? && !force? verify_has_sha if require_sha? && !force?
satisfy_dependencies
download download
verify verify
satisfy_dependencies
end end
def stage def stage