Merge pull request #13411 from hmarr/dont-checksum-vcs-downloads

Only checksum file downloads, not VCS downloads
This commit is contained in:
Mike McQuaid 2022-06-14 16:30:51 +01:00 committed by GitHub
commit aa99b34149
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,7 +130,7 @@ module Cask
end
def checksumable?
url.using.blank? || url.using == :post
DownloadStrategyDetector.detect(url.to_s, url.using) <= AbstractFileDownloadStrategy
end
def download_sha_path