1
0
Эх сурвалжийг харах

Merge pull request #2044 from sigvei/main

fix: download_doc should delete tempfile
Simon Legner 2 жил өмнө
parent
commit
c90a82a193
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      lib/tasks/docs.thor

+ 1 - 0
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)