Skip to content

Commit

Permalink
Force deletion of the temporary figure path to address Issue #440
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasWMRitchie committed Jul 13, 2022
1 parent b7941c2 commit b669a14
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...
startswith(fig_path, "jl_") && rm(normpath(cwd, fig_path), force=true, recursive=true)
end

return doc
Expand Down

0 comments on commit b669a14

Please sign in to comment.