mirror of https://github.com/mpastell/Weave.jl
Force deletion of the temporary figure path to address Issue #440
parent
b7941c2811
commit
b669a14038
|
@ -90,6 +90,8 @@ function run_doc(
|
|||
@info "Weaved all chunks" progress=1 _id=PROGRESS_ID
|
||||
cd_back()
|
||||
popdisplay(report) # ensure display pops out even if internal error occurs
|
||||
# Temporary fig_path is not automatically removed because it contains files so...
|
||||
startswith(fig_path, "jl_") && rm(normpath(cwd, fig_path), force=true, recursive=true)
|
||||
end
|
||||
|
||||
return doc
|
||||
|
|
Loading…
Reference in New Issue