extlibs.rb: fixed Downloader.cache_file call and return value
`cache_dir` is an optinal argument but not a keyword argument, and the return value is a `Pathname`.
This commit is contained in:
parent
0a52015da7
commit
336119dfc5
@ -27,7 +27,7 @@ class ExtLibs
|
|||||||
end
|
end
|
||||||
|
|
||||||
def cache_file(url, cache_dir)
|
def cache_file(url, cache_dir)
|
||||||
Downloader.cache_file(url, nil, :cache_dir => cache_dir)
|
Downloader.cache_file(url, nil, cache_dir).to_path
|
||||||
end
|
end
|
||||||
|
|
||||||
def do_download(url, cache_dir)
|
def do_download(url, cache_dir)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user