Skip to content

Commit 2829535

Browse files
authored
fix: download_doc deletes tempfile
The download routine in docs.thor did not delete the tarball after completion.
1 parent acfa06a commit 2829535

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/tasks/docs.thor

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,7 @@ class DocsCLI < Thor
343343
file.close
344344
tar = UnixUtils.gunzip(file.path)
345345
dir = UnixUtils.untar(tar)
346+
FileUtils.rm(tar)
346347
FileUtils.rm_rf(target_path)
347348
FileUtils.mv(dir, target_path)
348349
FileUtils.rm(file.path)

0 commit comments

Comments
 (0)