aboutsummaryrefslogtreecommitdiffstats
path: root/tool/downloader.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/downloader.rb')
-rw-r--r--tool/downloader.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/downloader.rb b/tool/downloader.rb
index 2436a4dae7..f42f9a0ef1 100644
--- a/tool/downloader.rb
+++ b/tool/downloader.rb
@@ -173,7 +173,7 @@ class Downloader
if cache_save
save_cache(cache, file, name)
end
- return file.respond_to?(:to_path) ? file.to_path : file.to_s
+ return file.to_path
end
if dryrun
puts "Download #{url} into #{file}"