From 28295354d08ef523659ae97f052aab054d0205db Mon Sep 17 00:00:00 2001 From: Sigve Indregard Date: Tue, 29 Aug 2023 20:04:29 +0200 Subject: [PATCH] fix: download_doc deletes tempfile The download routine in docs.thor did not delete the tarball after completion. --- lib/tasks/docs.thor | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/tasks/docs.thor b/lib/tasks/docs.thor index a586aa63..54009530 100644 --- a/lib/tasks/docs.thor +++ b/lib/tasks/docs.thor @@ -343,6 +343,7 @@ class DocsCLI < Thor file.close tar = UnixUtils.gunzip(file.path) dir = UnixUtils.untar(tar) + FileUtils.rm(tar) FileUtils.rm_rf(target_path) FileUtils.mv(dir, target_path) FileUtils.rm(file.path)