Skip to content

Commit c90a82a

Browse files
authored
Merge pull request #2044 from sigvei/main
fix: download_doc should delete tempfile
2 parents 30dba6c + 2829535 commit c90a82a

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)