Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
sosiristseng committed Apr 10, 2024
1 parent a18f9f5 commit 24b3439
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ using IJulia
Pkg.activate(Base.current_project())
end

function main(; basedir = get(ENV, "DOCDIR", "docs"), cachedir = get(ENV, "NBCACHE", ".cache"), printtable=true)
function main(; basedir=get(ENV, "DOCDIR", "docs"), cachedir=get(ENV, "NBCACHE", ".cache"), printtable=true)
ipynbs = String[]
litnbs = String[]

Expand Down Expand Up @@ -58,7 +58,7 @@ function main(; basedir = get(ENV, "DOCDIR", "docs"), cachedir = get(ENV, "NBCAC
end

# Execute literate notebooks in worker process(es)
ts_lit = pmap(litnbs; on_error=ex->NaN) do nb
ts_lit = pmap(litnbs; on_error=ex -> NaN) do nb
outdir = joinpath(cachedir, dirname(nb))
@elapsed Literate.notebook(nb, outdir; mdstrings=true)
end
Expand Down

0 comments on commit 24b3439

Please sign in to comment.