diff --git a/src/run.jl b/src/run.jl index b47aa97..45e99d2 100644 --- a/src/run.jl +++ b/src/run.jl @@ -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... + !isnothing(fig_path) && startswith(fig_path, "jl_") && rm(normpath(cwd, fig_path), force=true, recursive=true) end return doc