Only checksum file downloads, not VCS downloads

This commit is contained in:
Harry Marr 2022-06-12 11:24:50 -04:00
parent 4484068dee
commit aa9a07f49e
No known key found for this signature in database
GPG Key ID: EC359447F66859CC

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