Unified · Split
| @@ -274,7 +274,7 @@ class DocsCLI < Thor · 273 unmodified lines | |||
| 274 | 274 | ||
| 275 | def download_doc(doc) | 275 | def download_doc(doc) |
| 276 | target_path = File.join(Docs.store_path, doc.path) | 276 | target_path = File.join(Docs.store_path, doc.path) |
| 277 | open "https://dl.devdocs.io/#{doc.path}.tar.gz" do |file| | 277 | open "http://dl.devdocs.io/#{doc.path}.tar.gz" do |file| |
| 278 | FileUtils.mkpath(target_path) | 278 | FileUtils.mkpath(target_path) |
| 279 | file.close | 279 | file.close |
| 280 | tar = UnixUtils.gunzip(file.path) | 280 | tar = UnixUtils.gunzip(file.path) |