Skip to content

Commit

Permalink
Fix Julia 1.11 errors
Browse files Browse the repository at this point in the history
Fixes #190.
  • Loading branch information
MichaelHatherly committed Oct 9, 2024
1 parent 84cb855 commit b2a8260
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
matrix:
version:
- "1.6"
- "1.10"
- "1.11"
os:
- ubuntu-latest
- macos-13
Expand Down
1 change: 0 additions & 1 deletion src/QuartoNotebookWorker/src/NotebookState.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ function __init__()
if ccall(:jl_generating_output, Cint, ()) == 0
PROJECT[] = Base.active_project()
OPTIONS[] = task_local_storage(:QUARTO_NOTEBOOK_WORKER_OPTIONS, Dict{String,Any}())
define_notebook_module!()
end
end

Expand Down
1 change: 1 addition & 0 deletions src/worker.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ function worker_init(f::File, options::Dict)
),
)
end
QNW.NotebookState.define_notebook_module!(Main)
global refresh!(args...) = QNW.refresh!($(f.path), $(options), args...)
global render(args...; kwargs...) = QNW.render(args...; kwargs...)
end
Expand Down

0 comments on commit b2a8260

Please sign in to comment.