diff options
author | Nobuyoshi Nakada <[email protected]> | 2020-05-14 17:19:39 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2020-05-14 17:19:39 +0900 |
commit | 336119dfc5e6baae0a936d6feae780a61975479c (patch) | |
tree | 1bda64aebbab9a4e20de981f3d7ba04590c5e4fe /tool/extlibs.rb | |
parent | 0a52015da7c4895363e239387e749e4b1f63b198 (diff) |
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`.
Diffstat (limited to 'tool/extlibs.rb')
-rwxr-xr-x | tool/extlibs.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/extlibs.rb b/tool/extlibs.rb index e2605f5a1b..33462ceb1d 100755 --- a/tool/extlibs.rb +++ b/tool/extlibs.rb @@ -27,7 +27,7 @@ class ExtLibs end 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 def do_download(url, cache_dir) |