Download strategies should return a Pathname from cached_location

This commit is contained in:
Jack Nagel 2014-12-05 18:08:21 -05:00
parent ecba7b4e7e
commit 68a5268aef

View File

@ -90,7 +90,7 @@ class Resource
end end
def verify_download_integrity fn def verify_download_integrity fn
if fn.respond_to?(:file?) && fn.file? if fn.file?
ohai "Verifying #{fn.basename} checksum" if ARGV.verbose? ohai "Verifying #{fn.basename} checksum" if ARGV.verbose?
fn.verify_checksum(checksum) fn.verify_checksum(checksum)
end end