From 336119dfc5e6baae0a936d6feae780a61975479c Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 14 May 2020 17:19:39 +0900 Subject: [PATCH] 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`. --- tool/extlibs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)