Skip to content

Commit

Permalink
Merge pull request #462 from NicholasWMRitchie/nwmr
Browse files Browse the repository at this point in the history
Force deletion of the temporary figure path to address Issue #440
  • Loading branch information
pfitzseb authored Feb 10, 2023
2 parents 20aaefe + b022a54 commit af2a6e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/run.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit af2a6e1

Please sign in to comment.